summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fc7525d27a4293f3e4dce95a714f8fbe858709d (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
32
33
34
# Maintainer: Bogdan Szczurek <thebodzio@gmail.com>

pkgname=reglookup
pkgver=1.0.1
pkgrel=5
pkgdesc="Command line utility for reading and querying Windows NT registries"
arch=('i686' 'x86_64')
url="https://code.blindspotsecurity.com/trac/reglookup/"
license=('GPL')
depends=('talloc')
makedepends=('gcc' 'scons' 'docbook2x')
source=($pkgname-src-$pkgver::svn+https://code.blindspotsecurity.com/dav/reglookup/releases/$pkgver
	SConstruct.patch
	pyregfi-distutils.py.patch)

prepare() {
	cd "$srcdir/$pkgname-src-$pkgver"
	patch < ../SConstruct.patch
	patch < ../pyregfi-distutils.py.patch
}

build() {
	cd "$srcdir/$pkgname-src-$pkgver"
	scons
}

package() {
	cd "$srcdir/$pkgname-src-$pkgver"
	PREFIX="$pkgdir/usr/" scons install
}

md5sums=('SKIP'
         'a1d31fb09fbce3864abde8babf4c63eb'
         'd90fd7b3f43e5c3079c0eb152d9d2df6')