blob: 7a927e2a777bac9a5042218f28228988825ee969 (
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
34
35
36
37
38
|
# Maintainer: Dan Johansen <strit83 at gmail dot com>
pkgname=opentracker
pkgver=2016.10.02
pkgrel=1
pkgdesc="A free and open torrent tracker"
arch=('x86_64' 'i686' 'armv7h' 'armv7l' 'aarch64')
url="http://erdgeist.org/arts/software/opentracker/"
license=('Beerware')
depends=('git' 'cvs')
makedepends=('git' 'cvs')
source=('git://erdgeist.org/opentracker')
provides=(opentracker)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/opentracker"
git log -n 1 --pretty=format:"%cd" --date=short | sed "s/-/./g"
}
build() {
cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
cd libowfat
make
cd ..
cd opentracker
make
}
package() {
install -dm755 $pkgdir/opt/$pkgname/
install -dm755 $pkgdir/usr/share/applications/
install -d $pkgdir/usr/bin/
install -m755 $srcdir/$pkgname/$pkgname $pkgdir/opt/$pkgname/$pkgname
ln -s "/opt/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|