summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 457d09acffea9d229666c66a57ea946c16c205a8 (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
35
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=semblance-git
pkgver=r200.e87c0b0
pkgrel=1
pkgdesc='Produce disassembly and other information from exectable files'
arch=('x86_64')
url='https://gitlab.winehq.org/zfigura/semblance'
license=('GPL-3.0-or-later')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://gitlab.winehq.org/zfigura/semblance.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/${pkgname%-git}"
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/${pkgname%-git}"
	make -k check
}

package() {
	cd "$srcdir/${pkgname%-git}"
	install -Dm755 dump "$pkgdir/usr/bin/semblance-dump"
}