diff options
author | Olivier Medoc | 2016-03-16 11:10:35 +0000 |
---|---|---|
committer | Olivier Medoc | 2016-03-16 11:10:35 +0000 |
commit | 4560b4645f747c3a125d13276c23d5f959e236a8 (patch) | |
tree | 56f65267e5293a5856b59148513cb2b00b920d5c | |
download | aur-4560b4645f747c3a125d13276c23d5f959e236a8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rwxr-xr-x | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..243d9996c8a1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-liblnk + pkgdesc = Library and tools to access the Windows Shortcut File (LNK) format + pkgver = 20151205 + pkgrel = 1 + url = https://github.com/libyal/liblnk/ + arch = any + license = LGPLv3+ + makedepends = python2 + makedepends = gcc + depends = python2 + source = https://pypi.python.org/packages/source/l/liblnk-python/liblnk-python-20151205.tar.gz#md5=e1bc3423fb60fc4d365e2ab094b97a39 + md5sums = e1bc3423fb60fc4d365e2ab094b97a39 + +pkgname = python2-liblnk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..cf58ded8fe1a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=python2-liblnk +_pkgcode=liblnk +pkgver=20151205 +pkgrel=1 +pkgdesc="Library and tools to access the Windows Shortcut File (LNK) format" +url="https://github.com/libyal/liblnk/" +arch=('any') +license=('LGPLv3+') + +depends=('python2') +makedepends=('python2' 'gcc') + +md5sum=e1bc3423fb60fc4d365e2ab094b97a39 +source=(https://pypi.python.org/packages/source/l/$_pkgcode-python/$_pkgcode-python-$pkgver.tar.gz#md5=$md5sum) +md5sums=($md5sum) + +build() { + cd $srcdir/${_pkgcode}-${pkgver} + + python2 setup.py build +} + +package() { + cd $srcdir/${_pkgcode}-${pkgver} + python2 setup.py install --root="${pkgdir}" +} |