blob: 6f302634f56d43f4e14362e76f1ae1e2359efb45 (
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
27
28
29
|
# Maintainer: Jose Riha <jose1711 gmail com>
pkgname=pylnker-git
_pkgname=pylnker
pkgver=r9.3ee2854
pkgrel=2
pkgdesc="A tool to parse Windows .lnk files."
url="https://github.com/HarmJ0y/pylnker"
depends=('python2')
makedepends=('git')
conflicts=(pylnker)
license=('GPL')
arch=('any')
source=("${pkgname}"::'git+https://github.com/HarmJ0y/pylnker.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${srcdir}/${pkgname}
sed -i '1s/python/python2/' pylnker.py
install -Dm755 "pylnker.py" "$pkgdir/usr/bin/pylnker"
}
# vim:set ts=2 sw=2 et:
|