blob: 137fdece6dc6595956a057a6210d98f59cd8b50e (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Libre Liu <libreliu@foxmail.com>
pkgname=objgui-git
pkgver=r120.56beadc
pkgrel=1
pkgdesc="ObjGui is a GUI disassembler and binary analysis tool utilizing GNU binutils. "
arch=('x86_64')
url="https://github.com/jubal-R/ObjGui"
license=('GPL')
groups=()
depends=('qt5-base')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('objgui::git+https://github.com/jubal-R/ObjGui')
noextract=()
md5sums=('SKIP')
# Please refer to the 'USING git SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
true
}
build() {
cd "$srcdir/${pkgname%-git}"
rm -r build || true
mkdir build
cd build
qmake ../src/ObjGui.pro
make
}
check() {
true
}
package() {
cd "$srcdir/${pkgname%-git}/build"
install -D -m755 ObjGui "$pkgdir"/usr/bin/ObjGui
}
|