blob: da43be9f2f8ef695e2e70ea11ab4659b98f66217 (
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
|
# Maintainer: akasaka <vladkorotnev at gmail dot com>
_pkgname=resource_dasm
pkgname=${_pkgname}-git
provides=("${_pkgname}")
pkgver=r573.7c34c83
pkgrel=1
pkgdesc="Classic Mac OS resource fork and application disassembler, with reverse-engineering tools for specific applications"
arch=('x86_64')
license=('MIT')
url="https://github.com/fuzziqersoftware/resource_dasm"
depends=('netpbm')
makedepends=('git' 'cmake' 'phosg')
source=('git+https://github.com/fuzziqersoftware/resource_dasm.git')
sha256sums=('SKIP')
prepare() {
cd $_pkgname
cmake .
}
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
make
}
package() {
cd $_pkgname
DESTDIR="$pkgdir" make install
}
|