blob: 62846378b64bc1b7688096e80f4d703a29817b17 (
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
30
31
|
# Contributor: Andrew Chen <andrew.chuanye.chen@gmail.com>
_base=jefferson
pkgname=${_base}-git
pkgver=0.3.r4.ge06a617
pkgrel=1
pkgdesc="JFFS2 filesystem extraction tool"
url="https://github.com/sviehb/${_base}"
arch=(any)
license=(MIT)
depends=(python-cstruct)
makedepends=(python-setuptools git)
provides=(${_base})
conflicts=(${_base})
source=(git+${url}.git)
sha512sums=('SKIP')
pkgver() {
cd ${_base}
git describe --long --tags | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${_base}
python setup.py build
}
package() {
cd ${_base}
python setup.py install --root="${pkgdir}"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|