blob: 7244cef6e9e2aa3bb2711d16a9fd1a8b2d629c60 (
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
|
# Maintainer: Stephen Gregoratto <dev@sgregoratto.me>
pkgname=gf-debugger-git
pkgver=r139.25cd537
pkgrel=1
pkgdesc="A GDB frontend"
url="https://github.com/nakst/gf"
license=('MIT')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('gdb' 'libx11' 'freetype2')
makedepends=('git')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$pkgname"
./build.sh
}
package() {
install -Dm755 "$pkgname/gf2" "$pkgdir/usr/bin/gf2"
install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|