blob: 718cc01f227f2150c57ad958bb16be30d4233635 (
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
|
# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
pkgname=joyce
pkgrel=1
pkgver=2.2.10
pkgdesc="Emulates the Amstrad PCW on Unix"
arch=('i686' 'x86_64')
url="http://www.seasip.info/Unix/Joyce/index.html"
license=('GPL')
depends=('libpng'
'libxml2'
'sdl')
makedepends=('lyx')
source=("http://www.seasip.info/Unix/Joyce/${pkgname}-${pkgver}.tar.gz"
"${pkgname}.desktop")
sha256sums=('8ce633278c438c9228c9201c8e2522cd32cc92a6f868a8b8e580e917c5fb2144'
'ac4f54be832ff4c3bf434f36c0b28298742b20e4b6051db0a66e57ba636c5a98')
build() {
cd "${pkgname}-${pkgver}"
#patch -Np1 -i "${srcdir}/type_cast_fix.patch"
./configure --prefix=/usr --enable-shared
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
|