diff options
author | Matěj Týč | 2015-08-23 23:46:47 +0200 |
---|---|---|
committer | Matěj Týč | 2015-08-23 23:46:47 +0200 |
commit | 0e8b21b9e9aab30a8e1cc52b612cfd27625141ac (patch) | |
tree | fffb3d932b853c9df70080b704d0ec239a43871c /PKGBUILD | |
download | aur-0e8b21b9e9aab30a8e1cc52b612cfd27625141ac.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..63fd7768bf50 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# 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 <matej.tyc@gmail.com> +pkgname=argbash +pkgver=1.0.0 +pkgrel=1 +epoch= +pkgdesc="Bash argument parsing code generator" +arch=(any) +url="https://github.com/matejak/argbash" +license=('BSD') +groups=() +depends=('autoconf') +makedepends=('make') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("$pkgname-$pkgver.tar.gz" LICENSE) +noextract=() +md5sums=('cbd075a8e13f7e7ee32e33f8cc191f41' '830d8b1dc53dad7f53d6112c924c91ec') +validpgpkeys=() + +build() { + true +} + +check() { + cd "$pkgname-$pkgver/resources" + make -k check +} + +package() { + LICENSES="$pkgdir/usr/share/licenses/$pkgname" + mkdir -p "$LICENSES" + cp LICENSE "$LICENSES" + + cd "$pkgname-$pkgver/resources" + make ROOT="$pkgdir" PREFIX="/usr" install +} |