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: Kevin MacMartin <prurigro@gmail.com>
_pkgname=wla-dx
pkgname="${_pkgname/-/_}"
pkgver=10.6
pkgrel=1
pkgdesc='Multi Platform Cross Assembler Package for GB-Z80 (Game Boy), Z80 (GG, SMS, MSX, Spectrum, Ti86, etc), 6502 (NES, etc), 65C02 (VIC-20, etc), 6510 (C64, etc), 65816 (SNES, etc), HUC6280 (PC-Engine) and SPC-700 (SNES sound chip)'
url='https://github.com/vhelin/wla-dx'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('cmake' 'python-sphinx')
source=("https://github.com/vhelin/wla-dx/archive/v$pkgver.tar.gz")
sha512sums=('744f65f34d3378dfb956b7f7e60ee6eb2b81be3dd5106844f794acc1d7f23112b4f1df8aa68b677ef05687cd77755c5ac1c45f04c7d2f2ede421a9fa6b0a3564')
build() {
cd $_pkgname-$pkgver
cmake -G 'Unix Makefiles'
}
package() {
cd $_pkgname-$pkgver
unset CFLAGS
export CC=gcc LD=gcc
make DESTDIR="$pkgdir" install
# Install to /usr not /usr/local
cd "$pkgdir"
mv usr temp
mv temp/local usr
rmdir temp
# Move the man directory to the correct location
mv usr/man usr/share/man
}
|