summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf58ded8fe1ad2739eb86073c12e9dd76667d9fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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}"
}