summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 598a37642ef20c9cea5b96c5014f27fa3bc22915 (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
# Maintainer: xkero <sinister.ray@gmail.com>
pkgname=zenbooru
pkgver=0.4.6
pkgrel=1
pkgdesc='A standalone client for image boards that supports Gelbooru v0.2, Danbooru (v1 & v2), Moebooru, and booru.org sites.'
arch=(any)
url="http://zenbooru.org"
license=('GPL3')
depends=('chromium')
makedepends=()
install='zenbooru.install'
source=(
	"https://bitbucket.org/xkero/$pkgname/downloads/$pkgname-v$pkgver.zip"
	'icon.svg'
	'zenbooru.desktop'
	'zenbooru.sh'
)
sha256sums=('babb89143923784b631a7424011c28fb1ffc3d4c99825f93f00cd1a47f85cb9f'
            'b07caa8f83cdc615a97a346b7cfea91b9f673f97aab66052eac7142401b33581'
            '92a1f17e9b3546a6865e098feab63c28c2e5dbb0336053624e1454a7fb115414'
            '95165ed7a6e609b76578b6594c3aa3f1a35917ee8166f09011f6fd850471fe21')

package() {
	install -D     'zenbooru.sh'         "$pkgdir/usr/bin/zenbooru"
	install -Dm644 'icon.svg'            "$pkgdir/usr/share/icons/hicolor/scalable/apps/zenbooru.svg"
	install -Dm644 'zenbooru.desktop'    "$pkgdir/usr/share/applications/zenbooru.desktop"
	cd "$pkgname-v$pkgver"
	install -D     'Loading'             "$pkgdir/usr/share/zenbooru/index.html"
	install -D     'anyOS/commands.sh'   "$pkgdir/usr/share/zenbooru/anyOS/commands.sh"
	install -Dm644 'anyOS/background.js' "$pkgdir/usr/share/zenbooru/anyOS/background.js"
	install -Dm644 'anyOS/content.js'    "$pkgdir/usr/share/zenbooru/anyOS/content.js"
	install -Dm644 'anyOS/manifest.json' "$pkgdir/usr/share/zenbooru/anyOS/manifest.json"
	install -Dm644 'anyOS/commands.awk'  "$pkgdir/usr/share/zenbooru/anyOS/commands.awk"
	install -Dm644 'libs/hammer.min.js'  "$pkgdir/usr/share/zenbooru/libs/hammer.min.js"
}