diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-24 00:29:43 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-24 00:29:43 +0200 |
commit | 922d402212ebf5e70e819bde6a9136cf02313d50 (patch) | |
tree | e41452d9cf77c6f13b3980c47aaf5d1c8ad19c7f | |
parent | makefile rule clean removes .su files (diff) | |
download | setpgrp-922d402212ebf5e70e819bde6a9136cf02313d50.tar.gz setpgrp-922d402212ebf5e70e819bde6a9136cf02313d50.tar.bz2 setpgrp-922d402212ebf5e70e819bde6a9136cf02313d50.tar.xz |
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | dist/archlinux/stable/.gitignore | 5 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 26 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..048ee9a --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,5 @@ +* +!/.gitignore +!/setpgrp.install +!/PKGBUILD + diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..0aa9afe --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=setpgrp +pkgver=1 +pkgrel=1 +pkgdesc="Commands providing access to the setpgrp and getpgrp system calls" +arch=(i686 x86_64) +url="https://github.com/maandree/setpgrp" +license=('GPL3') +depends=(gcc glibc) +makedepends=(make coreutils gcc glibc) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(d058c523e26390851afb309cfa5293ed83df04440506275981615b23cb7ef886) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + |