diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-16 03:38:43 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-16 03:38:43 +0000 |
commit | 7695869e55415ddd53069b90850a387e73f04f4e (patch) | |
tree | 943d5d2b3a9a108665203c54fa0f5d63d112a7c3 /pcr/opentracker | |
parent | 34276794ce110cd2f9204e4b504aea41fb584145 (diff) |
Sun Feb 16 03:37:09 UTC 2014
Diffstat (limited to 'pcr/opentracker')
-rw-r--r-- | pcr/opentracker/PKGBUILD | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/pcr/opentracker/PKGBUILD b/pcr/opentracker/PKGBUILD deleted file mode 100644 index d40898859..000000000 --- a/pcr/opentracker/PKGBUILD +++ /dev/null @@ -1,67 +0,0 @@ -# Contributor: Pierre Schmitz <pierre@archlinux.de> -# Maintainer: Jonas Heinrich <onny@project-insanity.org> - -pkgname=opentracker -pkgver=20130312 -pkgrel=1 -pkgdesc='An open and free bittorrent tracker (open mode)' -arch=('i686' 'x86_64' 'mips64el') -url='http://erdgeist.org/arts/software/opentracker/' -license=('custom:Beer' 'GPL') -makedepends=('libowfat' 'cvs') -depends=('bash' 'zlib') -backup=('etc/opentracker/config') -source=("http://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig} -'opentracker.service' -'license.txt') -md5sums=('64956fd9bc7b453b4862b8ba15a27511' - '0217a2aeaee2b75017c13cdf86a245f2' - '3c638b71d5ecb65fb7964796975b2078' - '865211941e882c0aff5d36a22ac9efaa') - -_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot' -_cvsmod='opentracker' - -mksource() { - pushd "${srcdir}" - msg 'Connecting to CVS server....' - if [ -d ${_cvsmod}/CVS ]; then - cd ${_cvsmod} - cvs -z3 update -d - else - cvs -z3 -d ${_cvsroot} co -f ${_cvsmod} - cd ${_cvsmod} - fi - - msg 'CVS checkout done or server timeout' - popd - - tar czf ${pkgname}-${pkgver}.tar.gz ${_cvsmod}/ -} - -build() { - cd "${srcdir}/${_cvsmod}" - msg 'Starting make...' - - sed -e 's|# tracker.rootdir /usr/local/etc/opentracker|tracker.rootdir /etc/opentracker|' \ - -e 's|# access.stats 192.168.0.23|access.stats 127.0.0.1|' \ - -i opentracker.conf.sample - -# See Makefile for available features - make PREFIX=/usr \ - LIBOWFAT_HEADERS=/usr/includes \ - LIBOWFAT_LIBRARY=/usr/lib \ - FEATURES="-DWANT_SYSLOGS -DDEBUG_HTTPERROR" -} - -package(){ - cd "${srcdir}/${_cvsmod}" - - install -D -m 755 opentracker $pkgdir/usr/bin/opentracker - install -D -m 644 opentracker.conf.sample $pkgdir/etc/opentracker/config - install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/opentracker/license.txt - - # Create opentracker service - mkdir -p "$pkgdir/usr/lib/systemd/system/" - install -m 644 "$srcdir/opentracker.service" "$pkgdir/usr/lib/systemd/system/" -} |