diff options
-rw-r--r-- | libre/dbscripts/PKGBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libre/dbscripts/PKGBUILD b/libre/dbscripts/PKGBUILD index 6e83b1ccb..325acb849 100644 --- a/libre/dbscripts/PKGBUILD +++ b/libre/dbscripts/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Luke Shumaker <lukeshu@parabola.nu> pkgname=dbscripts -pkgver=20180925.2 +pkgver=20181003 pkgdesc='Server-side programs for Parabola Pacman repositories' url='https://git.parabola.nu/packages/dbscripts.git/' license=('GPL') @@ -23,7 +23,7 @@ pkgrel=1 arch=('any') depends=('librelib>=20180428' libretools rsync expac mktorrent) source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) -sha256sums=('b57ddc8f26633d2770b5ec29371a90fcba5a6c564be05952a5590872e3d293ab' +sha256sums=('bf665752574f9c5bba6b39068c15a528b11b81b8d107e79eafbd4998c4dd4582' 'SKIP') validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9') # Luke Shumaker @@ -42,19 +42,13 @@ package() { local file for file in "${backup[@]}"; do mv -T "$pkgdir/opt/$pkgname/${file##*/}" "$pkgdir/$file" - ln -sr "$pkgdir/$file" "$pkgdir/opt/$pkgname" + if [[ ${file##*/} != config.* ]]; then + ln -sr "$pkgdir/$file" "$pkgdir/opt/$pkgname" + fi done - mkdir -p "$pkgdir"/usr/lib/systemd/system - mv -t "$pkgdir"/usr/lib/systemd/system "$pkgdir/opt/$pkgname/systemd"/*.{service,timer} - local src dst - for src in "$pkgdir/opt/$pkgname/systemd"/*.d_*.conf; do - dst="${src##*/}" - dst="$pkgdir/usr/lib/systemd/system/${dst/.d_/.d/}" - mkdir -p "${dst%/*}" - mv -T "$src" "$dst" - done - rmdir "$pkgdir/opt/$pkgname/systemd" + mkdir -p "$pkgdir"/usr/lib/systemd + mv -T "$pkgdir/opt/$pkgname/systemd" "$pkgdir/usr/lib/systemd/system" mkdir -p "$pkgdir"/usr/share/doc/$pkgname ln -sr "$pkgdir"/opt/$pkgname/README.md "$pkgdir"/usr/share/doc/$pkgname |