# Maintainer: gato_lento pkgname=combustion pkgver=0.6.1 pkgrel=2 pkgdesc='Sleek, modern web interface for Transmission' arch=('any') url='https://github.com/Secretmapper/combustion' license=('MIT') depends=('transmission-cli') source=( "git+https://github.com/Secretmapper/combustion.git" "combustion.sh" "combustion.conf" ) sha1sums=( SKIP 1b2e73e143508792e94bd7d35f2e0d68b837527a 1cc64c9ef6cf9023aa17ae51b454b1b3a420f2ae ) package() { install -D -m644 "$srcdir/combustion/LICENSE" "$pkgdir/usr/share/licenses/combustion/LICENSE" install -D -m755 "$srcdir/combustion.sh" "$pkgdir/etc/profile.d/combustion.sh" install -D -m644 "$srcdir/combustion.conf" "$pkgdir/usr/lib/systemd/system/transmission.service.d/combustion.conf" cd "$srcdir/combustion" git checkout v${pkgver} cp -r "$srcdir/combustion" "$pkgdir/usr/share/" rm -rf "$pkgdir/usr/share/combustion/.git" }