blob: 5032de04566443442f8d1ba449afc42de40a11e6 (
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
|
# Maintainer: graysky <graysky AT archlinux DOT us>
pkgname=jalbum
_basedir=/usr/lib/$pkgname
pkgver=23.2
pkgrel=1
pkgdesc="Free web photo album software and photo gallery software"
arch=('any')
url="http://jalbum.net/"
license=('custom' 'lgpl')
depends=('java-openjfx')
source=("$pkgname-$pkgver.zip::http://download.jalbum.net/download/$pkgver/${pkgname/a/A}.zip"
"$pkgname.desktop"
"$pkgname.sh")
sha256sums=('9bfeb388c311dfb5222df23cca53e938140a36920b0290fbd3a065e97bb19308'
'9679ab294b5c5e0ad343b8a12026073fd2f622320d636cc05facaa2ff5b15825'
'f4aec4248de127251fc32571732e91fd860f1954c650650a965bf77759cd85fc')
package() {
install -Dm644 "$srcdir/jalbum.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm755 "$srcdir/jalbum.sh" "$pkgdir/usr/bin/jalbum"
install -dm755 "$pkgdir/usr/lib"
install -dm755 "$pkgdir/usr/share/licenses"
install -dm755 "$pkgdir/usr/share/pixmaps"
# install files
cp -a "${pkgname/a/A}" "$pkgdir/$_basedir"
# remove windows specific stuff
find $pkgdir \( -name "*.bat" -o -name "*.cmd" -o -name "*.dll" -o -name "compile.sh" \) -delete
mv "$pkgdir/$_basedir/license" "$pkgdir/usr/share/licenses/$pkgname"
ln -s "$_basedir/icons/JalbumApp48.png" "$pkgdir/usr/share/pixmaps/jalbum.png"
}
|