blob: 532a4e5b941b4c4c3564068142f772a3d953b7dd (
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
|
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
pkgname=fatelf-utils
pkgver=111.5e7e594b70fa
pkgrel=4
pkgdesc='Utils for FatELF universal binaries for Linux'
arch=('i686' 'x86_64')
url='https://www.icculus.org/fatelf'
license=('custom')
makedepends=('cmake')
source=('hg+https://hg.icculus.org/icculus/fatelf')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}"/fatelf
echo $(hg identify -n).$(hg identify -i)
}
build() {
cd "${srcdir}"/fatelf
CFLAGS+=" -O0"
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
}
package() {
cd "${srcdir}"/fatelf
make DESTDIR="${pkgdir}" install
for FILE in docs/*.txt; do
install -Dm644 "$FILE" "${pkgdir}"/usr/share/doc/fatelf/$(basename $FILE)
done
install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|