summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 115d75b81944d2050ff24d41ac8d5af0d3e2278e (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
#
# PKGBUILD: vlink
#
# Maintainer: DYSEQTA <_dyseqta_-at-_me_-dot-_com_>
#

pkgname=vlink
pkgver=0.16h
_pkgver="0_16h"
pkgrel=1
pkgdesc="A portable linker for multiple file formats including AmigaOS hunk format. A companion to the vasm assembler."
arch=('any')
url="http://sun.hasenbraten.de/vlink/"
license=('custom')
depends=()
#source=(http://sun.hasenbraten.de/vlink/release/vlink.tar.gz) # latest unversioned source url
source=(http://phoenix.owl.de/tags/${pkgname}${_pkgver}.tar.gz 
        http://sun.hasenbraten.de/vlink/release/vlink.pdf)
sha256sums=('8e6113bdf3394343cbcb9280bff52aabb047ae751d1aed87860aecff6c10cd59' 
            'bd4342d1e288e098f4584d2f4702f106dcba62d2fff45bec872880bb7ec0f58a')

prepare()
{
  cd ${srcdir}/${pkgname}
}

build()
{
  cd ${srcdir}/${pkgname}
  make
}

package()
{
  mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
  cp vlink.pdf ${pkgdir}/usr/share/doc/${pkgname}
  cd ${srcdir}/${pkgname}
  mkdir -p ${pkgdir}/usr/bin
  cp vlink ${pkgdir}/usr/bin
}