blob: f7e57229d36017a743f3b774a3e882c167d2b781 (
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: rootjdev <rootjdev@gmail.com>
pkgname=assemblyline-git
pkgver() {
cd "${pkgname%-git}"
version=$(grep AC_INIT <./configure.ac | awk -F'[\\[\\]]' '{print $4}')
printf "${version}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | tr "-" "_"
}
pkgver=1.3.2.r195.cbf8feb
pkgrel=1
pkgdesc="An in-memory assembler for x86. (main branch)"
arch=(x86_64)
url="https://github.com/0xAde1a1de/assemblyline.git"
license=('Apache')
makedepends=(git autoconf automake libtool make)
checkdepends=(nasm)
provides=(libassemblyline asmline)
source=("git+${url}")
sha256sums=('SKIP')
build() {
cd "${pkgname%-git}"
./autogen.sh
./configure --prefix=/usr
make clean all
}
check() {
cd "${pkgname%-git}"
make -k check
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|