summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77752c7958aa9f0ef2c269f57ae5ea5b90d72445 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# PKGBUILD: dxa65
#
# Contributor: Uffe Jakobsen <uffe@uffe.org>
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#
pkgname=dxa65
pkgver=0.1.4
pkgrel=1
epoch=
pkgdesc="Disassembler for MOS 6502 and compatible CPUs"
arch=('i686' 'x86_64')
_pkgname=dxa
url="http://www.floodgap.com/retrotech/xa#dxa"
license=('GPL')
groups=()
depends=('glibc')
makedepends=()
checkdepends=()
optdepends=('unadf')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://www.floodgap.com/retrotech/xa/dists/${_pkgname}-${pkgver}.tar.gz)
noextract=()
md5sums=('3a7993751bcb94e5f9081cc2f27eee1d')


prepare()
{
  cd "$srcdir/${_pkgname}-${pkgver}"
}

build()
{
  cd "${srcdir}/${_pkgname}-${pkgver}"
  make
}

check()
{
  cd "${srcdir}/${_pkgname}-${pkgver}"
  #make -k check
}

package()
{
  cd "${srcdir}/${_pkgname}-${pkgver}"

  mkdir -p ${pkgdir}/usr/local/bin
  cp ${srcdir}/${_pkgname}-${pkgver}/dxa ${pkgdir}/usr/local/bin/dxa65
  mkdir -p ${pkgdir}/usr/local/man/man1
  cp ${srcdir}/${_pkgname}-${pkgver}/dxa.1 ${pkgdir}/usr/local/man/man1

  mkdir -p ${pkgdir}/usr/local/doc/${pkgname}
  cp ${srcdir}/${_pkgname}-${pkgver}/INSTALL ${pkgdir}/usr/local/doc/${pkgname}/

}

#
# EOF
#