summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68f2953c6f7922883800809488b2637fb92ae6f5 (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
#
# PKGBUILD for unadf
#
# Contributor: Uffe Jakobsen <uffe@uffe.org>
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#
pkgname=unadf
pkgver=1.0
pkgrel=4
epoch=
pkgdesc="unzip like tool for Commodore Amiga filesystem .ADF images"
arch=('i686' 'x86_64')
_pkgname=ADFlib
_pkgver=0.7.12
url="http://lclevy.free.fr/adflib/unadf.html"
license=('GPL')
groups=()
depends=('glibc' 'adflib')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/tonigi/${_pkgname}/archive/${_pkgver}.tar.gz)
noextract=()
md5sums=('af11dbb3f79ef799538c9f03cd5a40cd')


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

build() {
  cd "${srcdir}/${_pkgname}-${_pkgver}"
  sh autogen.sh
  #sh configure --prefix="${_pkgdir}/"
  sh configure
  make
}

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

package() {
  cd "${srcdir}/${_pkgname}-${_pkgver}"
  make DESTDIR="${pkgdir}/" install-exec
  rm -rf "${pkgdir}/usr/local/lib/"
}

# EOF