blob: 7b159ae416c11ff3dc35ccc40c0814599efe71a0 (
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
|
# Maintainer: Bilgin COSKUN <bilgin.coskun@ceng.metu.edu.tr>
# Contributor: Zanny <lordzanny@gmail.com
pkgname=quakeinjector
_name=quakeinjector
_gitname=QuakeInjector
pkgver=alpha06
pkgrel=1
pkgdesc="Download, install and play quake singleplayer maps from the quaddicted.com archive"
url="http://www.haukerehfeld.de/projects/quakeinjector/"
arch=(any)
license=(GPL)
depends=(java-environment=17 hicolor-icon-theme)
makedepends=(git gradle)
conflicts=(quakeinjector)
source=("git+https://github.com/hrehfeld/$_gitname.git#tag=$pkgver"
'quakeinjector.desktop'
'quakeinjector')
sha256sums=(SKIP
'f9bb3bd6b304caa7768250f2490564ea8b67dc0c6257ce5a293c868bef35f903'
'122302fb8e344ab1a150695f64c33440676d32d4efac2bfca639997d5abe4766')
build() {
cd "$srcdir/$_gitname"
gradle assemble
}
package() {
for res in '16' '32' '48' '256'; do
install -Dm644 "$srcdir/$_gitname/build/resources/main/Inject2_$res.png" "$pkgdir/usr/share/icons/hicolor/${res}x$res/apps/$_name.png"
done
install -Dm755 "$srcdir/$_name" "$pkgdir/usr/bin/$_name"
install -Dm644 "$srcdir/$_name.desktop" "$pkgdir/usr/share/applications/$_name.desktop"
install -Dm644 "$srcdir/$_gitname/build/libs/$_gitname-$pkgver.jar" "$pkgdir/usr/share/$_name/$_name.jar"
}
|