blob: 632e9b86a44ac0976a9ce67e9f565a0d68dfddf4 (
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
28
29
30
31
32
33
|
# $Id: PKGBUILD 169811 2012-10-29 22:16:57Z thomas $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Alexandre Bique <bique.alexandre@gmail.com>
pkgname=hefur
pkgver=0.3
pkgrel=3
pkgdesc='A standalone and lightweight BitTorrent tracker'
arch=('i686' 'x86_64' 'mips64el')
url='http://github.com/abique/hefur'
license=('MIT')
makedepends=('cmake')
depends=('gnutls' 'xz')
source=("https://github.com/downloads/abique/${pkgname}/${pkgname}-${pkgver}.tar.xz"
'hefurd.service')
md5sums=('446ca4e659ce0ca3c8f32b0990ee7f5f'
'fec6d1a7a96bd6c5605d5316fec4fc2f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
DESTDIR=${pkgdir} make install
install -D -m644 ${srcdir}/hefurd.service ${pkgdir}/usr/lib/systemd/system/hefurd.service
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/hefur/LICENSE
install -d -m755 ${pkgdir}/var/lib/hefurd
}
|