diff options
author | Adrian Băcîrcea | 2015-06-16 09:56:37 +0300 |
---|---|---|
committer | Adrian Băcîrcea | 2015-06-16 09:56:37 +0300 |
commit | 1e34935d356ccdf2da1a8ce3f5d3fe7ca034d558 (patch) | |
tree | 76ad1009b2dc4b1ff5f1c5db671fa062942038a6 /PKGBUILD | |
download | aur-minisapserver.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0b1edef6eac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer : adytzu2007 <adybac at gmail dot com> + +pkgname=minisapserver +pkgver=0.3.8 +pkgrel=1 +pkgdesc="Session Announcement Protocol server." +arch=('i686' 'x86_64') +url="http://www.videolan.org/" +license=('GPL2') +depends=('gcc-libs') +source=( + "http://download.videolan.org/pub/videolan/miniSAPserver/$pkgver/$pkgname-$pkgver.tar.xz" + "$pkgname.service" + ) +md5sums=( + 'e2969e92d8c7af41f22ee29a6214ad11' + 'e682d99fc529db0c2504c43fe91b23d7' + ) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "$srcdir" + install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" + + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |