blob: d14116f1596044c51f4b337e515293d3ba89bd0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}
|