summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa331b979d63468688c3a2907711bf783b4930e7 (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
#
# PKGBUILD for view64
#
# Contributor: Uffe Jakobsen <microtop@starion.dk>
# Maintainer: Uffe Jakobsen <microtop@starion.dk>
#
pkgname=view64
pkgver=1.60
pkgrel=1
epoch=
pkgdesc="SDL image viewer for Commodore C64 image formats"
arch=('i686' 'x86_64')
url="http://view64.sourceforge.net/"
license=('GPL2')
groups=()
depends=('sdl2' 'fltk')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://sourceforge.net/projects/view64/files/source/$pkgname-$pkgver-src.zip)
#        fastforward-cc-conf.patch)
noextract=()
md5sums=('1376d6a170e75c0b3c772a08c7c52877')

prepare() {
  cd "$srcdir/$pkgname-$pkgver-src"
  #patch -p1 -i "$srcdir/fastforward-cc-conf.patch"
}

build() {
  cd "$srcdir/$pkgname-$pkgver-src"
  ###make lib${pkgname}.so
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver-src"
}

package() {
  cd "$srcdir/$pkgname-$pkgver-src"
  install -d -m 755 "$pkgdir/usr/local/bin/"
  install -d -m 755 "$pkgdir/usr/local/etc/"
  install -d -m 755 "$pkgdir/usr/local/doc/$pkgname/"
  install -m 755 view64 "$pkgdir/usr/local/bin/"
  install -m 644 view64.conf "$pkgdir/usr/local/etc/"
  install -m 644 magic "$pkgdir/usr/local/etc/magic.$pkgname"
  install -m 644 mailcap "$pkgdir/usr/local/etc/mailcap.$pkgname"
  install -m 644 README "$pkgdir/usr/local/doc/$pkgname/"
  install -m 644 README.html "$pkgdir/usr/local/doc/$pkgname/"
}

#
# EOF
#