Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit 2bfd491348
2 changed files with 49 additions and 0 deletions

17
.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = unworkable
pkgdesc = A BitTorrent client aiming for efficiency, simplicity and high code quality
pkgver = 0.53
pkgrel = 2
url = http://code.google.com/p/unworkable/
arch = i686
arch = x86_64
license = BSD
makedepends = scons
makedepends = bison
depends = openssl
depends = libevent
source = http://unworkable.googlecode.com/files/unworkable-0.53.tar.gz
sha256sums = 80640df2319c128c2bf35f2279fb099985bd8c269808e97b5b0d420f38af6a34
pkgname = unworkable

32
PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=unworkable
pkgver=0.53
pkgrel=2
pkgdesc="A BitTorrent client aiming for efficiency, simplicity and high code quality"
arch=('i686' 'x86_64')
url="http://code.google.com/p/unworkable/"
license=('BSD')
depends=('openssl' 'libevent')
makedepends=('scons' 'bison')
source=(http://unworkable.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha256sums=('80640df2319c128c2bf35f2279fb099985bd8c269808e97b5b0d420f38af6a34')
build() {
cd $pkgname
scons
}
package() {
cd $pkgname
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
# License
install -d ${pkgdir}/usr/share/licenses/$pkgname
cat ${srcdir}/$pkgname/main.c | tail -n+3 | head -n13 > \
${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}