commit 87cd7b61baadd42b567a3183d8f443a107721bc9 Author: Jaroslav Lichtblau Date: Fri Nov 28 20:17:14 2014 +0100 Initial PKGBUILD status as of 28.11.2014 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..765d619bdeb4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = buildtorrent + pkgdesc = A simple commandline torrent creator + pkgver = 0.8 + pkgrel = 1 + url = http://mathr.co.uk/blog/torrent.html + arch = i686 + arch = x86_64 + license = GPL + depends = glibc + source = http://mathr.co.uk/blog/code/buildtorrent-0.8.tar.gz + sha256sums = e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0 + +pkgname = buildtorrent + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb4b4f631d0b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: Nathan Owe. ndowens04 at gmail dot com + +pkgname=buildtorrent +pkgver=0.8 +pkgrel=1 +pkgdesc="A simple commandline torrent creator" +arch=('i686' 'x86_64') +url="http://mathr.co.uk/blog/torrent.html" +license=('GPL') +depends=('glibc') +source=(http://mathr.co.uk/blog/code/$pkgname-$pkgver.tar.gz) +sha256sums=('e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +}