diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-17 17:32:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-17 17:32:37 +0200 |
commit | a92b6e8ad5e2b5474563679c3dfa75b16cfa27df (patch) | |
tree | adb653e72eed0ff21f92e2570c2a5571f75df418 | |
parent | m (diff) | |
download | aur-packages-a92b6e8ad5e2b5474563679c3dfa75b16cfa27df.tar.gz aur-packages-a92b6e8ad5e2b5474563679c3dfa75b16cfa27df.tar.bz2 aur-packages-a92b6e8ad5e2b5474563679c3dfa75b16cfa27df.tar.xz |
Add exec-as
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | exec-as/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/exec-as/PKGBUILD b/exec-as/PKGBUILD new file mode 100644 index 0000000..f6a1f50 --- /dev/null +++ b/exec-as/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> +pkgname=exec-as +pkgver=1.2 +pkgrel=1 +pkgdesc="A command that lets you start another command with any argv[0]" +arch=(i686 x86_64) +url="https://github.com/maandree/exec-as" +license=('ISC') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=(8e88fb15fe64a5807e2e814f9c9d2608cb7873997b59279983c724ff2c3c66b8) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install PREFIX=/usr DESTDIR="$pkgdir" +} |