diff options
author | Allen Li | 2015-06-09 02:06:23 -0700 |
---|---|---|
committer | Allen Li | 2015-06-09 02:06:23 -0700 |
commit | 527d6fa60331f54690f7d513b025a864d5b3a8a6 (patch) | |
tree | a54414cd45b10e6a88871e70ad9f1a42f9c1a15c | |
download | aur-527d6fa60331f54690f7d513b025a864d5b3a8a6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e464805fccfd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = torrent-preview + pkgdesc = Python script for viewing torrent metadata + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/darkfeline/torrent-preview + arch = any + license = MIT + depends = python2 + depends = python2-bencode + source = https://github.com/darkfeline/torrent-preview/archive/1.0.tar.gz + md5sums = 579246dad04d5c865a9820764848960c + +pkgname = torrent-preview + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b2f8921686d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: Allen Li <darkfeline@abagofapples.com> + +pkgname=torrent-preview +pkgver=1.0 +pkgrel=1 +pkgdesc="Python script for viewing torrent metadata" +arch=('any') +license=('MIT') +url=("https://github.com/darkfeline/torrent-preview") +depends=('python2' 'python2-bencode') +source=("https://github.com/darkfeline/torrent-preview/archive/${pkgver}.tar.gz") +md5sums=('579246dad04d5c865a9820764848960c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" +} |