blob: 40632fbc15532bd670206c7f4114e718022f3954 (
plain) (
blame)
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
28
29
30
31
|
pkgname=openarc-git
pkgver=v1.0.0.Beta1.r0.g355ee2a
pkgrel=1
pkgdesc="Open source ARC implementation"
arch=('x86_64')
url="https://github.com/trusteddomainproject/OpenARC"
depends=("libmilter")
license=('Custom')
source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build () {
cd "$pkgname"
autoreconf -fvi
./configure --prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/etc/openarc"
mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}
|