diff options
author | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
---|---|---|
committer | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
commit | 757329ce00fb7294bbd2e95d665c0c0891150821 (patch) | |
tree | fecd69fb05af8b47eecb2dfa6b6700715199ef34 | |
download | aur-757329ce00fb7294bbd2e95d665c0c0891150821.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1334a1f7d722 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = reredirect-git + pkgdesc = Tool to dynamicly redirect outputs of a running process + pkgver = v0.1.r5.ga80845a + pkgrel = 1 + url = https://github.com/jerome-pouiller/reredirect/ + arch = i686 + arch = x86_64 + license = custom + source = reredirect::git+git://github.com/jerome-pouiller/reredirect.git + sha1sums = SKIP + +pkgname = reredirect-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d14116f15960 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Arthur Zamarin <arthurzam@gmail.com> + +_pkgname=reredirect +pkgname=${_pkgname}-git +pkgver=v0.1.r5.ga80845a +pkgrel=1 +pkgdesc="Tool to dynamicly redirect outputs of a running process" +arch=(i686 x86_64) +url="https://github.com/jerome-pouiller/${_pkgname}/" +license=('custom') +source=("${_pkgname}::git+git://github.com/jerome-pouiller/${_pkgname}.git") +sha1sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/${_pkgname}" + make +} + +package() { + cd "$srcdir/${_pkgname}" + make PREFIX=/usr DESTDIR=${pkgdir} install +}
\ No newline at end of file |