blob: fb029fdf41263cc5e40f931f98351994f6d8d5ee (
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
|
# Maintainer: James Smith <jslonescout AT icloud DOT com>
# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
pkgname=laternamagica.app
_pkgname=LaternaMagica
pkgrel=2
pkgver=0.5
pkgdesc="An image viewer and slideshow application."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/gap/laternamagica/index.html"
license=('GPL')
groups=('gnustep')
depends=('gnustep-base'
'gnustep-gui')
makedepends=('gcc-objc'
'gnustep-make')
source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz")
sha256sums=('3afd9345a4c046bb24e6f4c7b562cc32dc6a06415bc57d189ffb7cf0510ce8e0')
build() {
cd "$_pkgname-$pkgver"
make
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
"$pkgdir/usr/share/applications/$_pkgname.desktop"
}
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
|