blob: 953c912bd56cabd95edf3a0e3365297b7f82e775 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Template-Maintainer: Patrick Burroughs (Celti) <celti@celti.name>
_gitname="${pkgname%-git}"
arch=('any')
depends=('nuvolaplayer-git')
makedepends=('git' 'lasem' 'scour')
sha256sums=('SKIP')
source=("git+https://github.com/tiliado/${_gitname}.git")
url="https://github.com/tiliado/${_gitname}"
pkgver() {
cd "${_gitname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${_gitname}"
# Optimize SVG icons (scour), generate PNG icons (lasem), build and install.
make install DEST="${pkgdir}/usr/share/nuvolaplayer3/web_apps"
# Install all available licenses.
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE*
}
|