forked from GrammaTech/ddisasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
34 lines (29 loc) · 742 Bytes
/
PKGBUILD
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
# -*- shell-script -*-
# Maintainer: Eric Schulte <schulte.eric@gmail.com>
pkgname=ddisasm-git
_srcdir=ddisasm_pkg
pkgver=r269.28f20d1
pkgrel=1
pkgdesc="A fast disassembler producing resulting assembly code which can be reassembled."
url="https://github..com/grammatech/ddisasm"
arch=('i686' 'x86_64')
license=('custom')
depends=()
makedepends=('git' 'pandoc' 'souffle-git' 'cmake')
provides=('ddisasm')
source=("${_srcdir}::git+https://github.com/grammatech/ddisasm")
sha256sums=('SKIP')
pkgver() {
cd "$_srcdir"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
# prepare() { }
build() {
cd $_srcdir
make
}
package() {
cd "$_srcdir"
make DESTDIR="$pkgdir/usr/" install
}
# vim: ts=2 sw=2 et: