summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 275b93ee655dace1f0d5b477ed70650866cb9972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: vimacs <https://vimacs.lcpu.club>

pkgname=xdanmaku
pkgver=2.1
pkgrel=1
pkgdesc='client for tuna/gdanmaku-server implemented in C for X11'
arch=('x86_64' 'armv7h' 'aarch64')
url='https://github.com/mytbk/xdanmaku'
license=('Apache')
depends=('json-c' 'libxft' 'libxinerama' 'curl')
source=("https://github.com/mytbk/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('709c8b30ee3f69333910cadccfeaf0b50c09700176209d1ba1c6995d3f34265f')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -D -m 0755 xdanmaku_main "$pkgdir/usr/bin/xdanmaku"
}