Commit dca59553 authored by Stefan Göbel's avatar Stefan Göbel
Browse files

Added PKGBUILD

parent 6f6bc534
# Maintainer: Stefan Göbel <systray-generic at subtype dot de>
pkgname='systray-generic'
pkgver='2015101201'
pkgrel='1'
arch=('any')
pkgdesc='Display system tray icons and run arbitrary programs when an icon is clicked.'
url='https://gitlab.com/goeb/systray-generic/'
license=('GPL3')
depends=('python-pyqt5')
makedepends=('git' 'python-docutils')
_pkgbuild_dir=${_pkgbuild_dir:-$PWD}
_source_files=(
'bin'
'doc'
'examples'
'COPYING'
'Makefile'
'PKGBUILD'
'README'
)
prepare() {
local _dest="$srcdir/$pkgname"
local _file=''
mkdir -p "$_dest"
for _file in "${_source_files[@]}" ; do
cp -avx "$_pkgbuild_dir/$_file" "$_dest/"
done
cd "$_dest"
make clean || true
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
make install DESTDIR="$pkgdir/" PREFIX="/usr"
rm -f "$pkgdir/usr/share/doc/$pkgname/COPYING"
}
#:indentSize=3:tabSize=3:noTabs=true:mode=shellscript:maxLineLen=87:
\ No newline at end of file
......@@ -47,6 +47,9 @@ other than «/». This may be useful to create distribution packages (use
«/usr» is treated slightly different than any other «PREFIX»). If used,
«DESTDIR» must end with a slash!
For Arch Linux, a PKGBUILD is available to build the package from the
local sources. Just run «makepkg» in the project's root directory.
Documentation
------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment