diff options
author | Sijmen J. Mulder | 2018-11-13 02:23:59 +0100 |
---|---|---|
committer | Sijmen J. Mulder | 2018-11-13 02:23:59 +0100 |
commit | 30e8630fdb9f309af4771f9f2791f8922eaff7a2 (patch) | |
tree | dd40107537b0ab20eb932f16f187ba36884c86fd | |
download | aur-within.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f000aa9ccb65 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = within + pkgdesc = Run a command in other directories + pkgver = 1.1.1 + pkgrel = 1 + url = https://github.com/sjmulder/within + arch = x86_64 + license = AGPL3 + depends = glibc + source = within-1.1.1.tar.gz::https://github.com/sjmulder/within/archive/1.1.1.tar.gz + sha256sums = 07fc63ff4ddb184d5ae9b90faf1764bc107ffdf9cc938618a6ce083989192882 + +pkgname = within + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5b745a283eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Sijmen J. Mulder <ik@sjmulder.nl> +pkgname=within +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Run a command in other directories' +arch=(x86_64) +url=https://github.com/sjmulder/$pkgname +license=(AGPL3) +depends=(glibc) +source=($pkgname-$pkgver.tar.gz::https://github.com/sjmulder/$pkgname/archive/$pkgver.tar.gz) +sha256sums=(07fc63ff4ddb184d5ae9b90faf1764bc107ffdf9cc938618a6ce083989192882) + +build() { + cd $pkgname-$pkgver + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make install DESTDIR="$pkgdir" PREFIX=/usr MANPREFIX=/usr/share/man +} |