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.4
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=('2e08464425084b5309ebeaf645a7c1a0deefe9097d936e1e9647618460283b9ffcdf4358c122b25120cea43815729ff21dafe1b1f699c4091cbc637a295478aa')
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
}
|