diff options
author | pushsla | 2018-11-19 20:43:42 +0300 |
---|---|---|
committer | pushsla | 2018-11-19 20:43:42 +0300 |
commit | f93cd21beba688d637b93755e6837caa24ac5aaa (patch) | |
tree | c69503ca5bc877df5ad37b8048c94110a5b5fe07 /PKGBUILD | |
download | aur-f93cd21beba688d637b93755e6837caa24ac5aaa.tar.gz |
add git-built version of xneur
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed373467bf04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Your Name <youremail@domain.com> +pkgname=xneur-devel-git +pkgver=0.20.0 +pkgrel=1 +epoch= +pkgdesc="" +arch=('any') +url="https://github.com/AndrewCrewKuznetsov/xneur-devel" +license=('GPL') +groups=() +depends=('xosd') +makedepends=('git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/AndrewCrewKuznetsov/xneur-devel") +noextract=() +md5sums=('6d34f431d79aa1951cb139bb28108b25') +validpgpkeys=() + +prepare() { + rm -rf "$pkgname-$pkgver" + git clone https://github.com/AndrewCrewKuznetsov/xneur-devel "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver/xneur" + ./autogen.sh --prefix=/opt/xneur + make +} + +#check() { +# cd "$pkgname-$pkgver/xneur" +# make -k check +#} + +package() { + cd "$pkgname-$pkgver/xneur" + make DESTDIR="$pkgdir/" install + mkdir -p "$pkgdir/usr/bin" + echo -e "#!/bin/bash\n/opt/xneur/bin/xneur $@" > "$pkgdir/usr/bin/xneur" + chmod +x "$pkgdir/usr/bin/xneur" +} |