diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 24 insertions, 18 deletions
@@ -1,17 +1,21 @@ -# Maintainer: beest <gnubeest@zoho.com> +# Maintainer: jasonwryan <jasonwryan@gmail.com> +# Contributor: beest <gnubeest@zoho.com> pkgname=motsognir -pkgver=1.0.12 -pkgrel=2 +pkgver=1.0.13 +pkgrel=1 pkgdesc="A robust, reliable and easy to install gopher server." -arch=(x86_64) +arch=('any') url="http://motsognir.sourceforge.net/" license=('GPL3') +depends=('glibc') optdepends=('php: php scripting support') source=("https://downloads.sourceforge.net/project/$pkgname/v$pkgver/$pkgname-$pkgver.tar.xz" \ - "motsognir.service") -sha256sums=('b9d67df7bde3151d66000a9605cac2f15cca888e7cd174ae384d0835b4c54de5' - '8b8f6257f8da3bb9ce9ecd452536f05809e66abd82154fc18a45e6807c702306') + "${pkgname}.service" + "${pkgname}.sysusers") +sha256sums=('d6903cc0ae31b8d3b95b6e42625c7298d6519074a195cedd2773c8d75c59af40' + '8b8f6257f8da3bb9ce9ecd452536f05809e66abd82154fc18a45e6807c702306' + 'da686191e429ef51349af720203a101d5397204c189a3d222621a82455661bde') build() { cd "$pkgname-$pkgver" @@ -21,16 +25,18 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm755 "motsognir" \ - "${pkgdir}/usr/bin/motsognir" - install -Dm644 "motsognir.8.gz" \ - "${pkgdir}/usr/share/man/man8/motsognir.8.gz" + install -Dm755 "${pkgname}" \ + "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${pkgname}.8.gz" \ + "${pkgdir}/usr/share/man/man8/${pkgname}.8.gz" install -Dm644 "manual.pdf" \ - "${pkgdir}/usr/share/doc/motsognir/manual.pdf" - install -Dm644 "motsognir.conf" \ - "${pkgdir}/usr/share/doc/motsognir/motsognir.conf" - install -Dm644 "motsognir-extmap.conf" \ - "${pkgdir}/usr/share/doc/motsognir/motsognir-extmap.conf" - install -Dm644 ../motsognir.service \ - "${pkgdir}/usr/lib/systemd/system/motsognir.service" + "${pkgdir}/usr/share/doc/${pkgname}/manual.pdf" + install -Dm644 "${pkgname}.conf" \ + "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.conf" + install -Dm644 "${pkgname}-extmap.conf" \ + "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}-extmap.conf" + install -Dm644 ../${pkgname}.service \ + "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" + install -vDm 644 "../${pkgname}.sysusers" \ + "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf" } |