diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-04-29 22:30:43 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-04-29 22:41:05 -0400 |
commit | 096fa9f2722b73fb516e46f571d8064c83b03316 (patch) | |
tree | 2b46cbf88165c6912faebb67131d549347faf9de | |
parent | 05511a5a6ffe0a329e6b28edeabf1d1f62fb9091 (diff) | |
download | abslibre-096fa9f2722b73fb516e46f571d8064c83b03316.tar.gz abslibre-096fa9f2722b73fb516e46f571d8064c83b03316.tar.bz2 abslibre-096fa9f2722b73fb516e46f571d8064c83b03316.zip |
libre/dbscripts: Update
-rw-r--r-- | libre/dbscripts/PKGBUILD | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/libre/dbscripts/PKGBUILD b/libre/dbscripts/PKGBUILD index 6ab9d01ef..84f64b38e 100644 --- a/libre/dbscripts/PKGBUILD +++ b/libre/dbscripts/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Luke Shumaker <lukeshu@parabola.nu> pkgname=dbscripts -pkgver=20180429 +pkgver=20180429.1 pkgdesc='Server-side programs for Parabola Pacman repositories' url='https://git.parabola.nu/packages/dbscripts.git/' license=('GPL') @@ -22,12 +22,14 @@ backup=( pkgrel=1 arch=('any') -depends=(librelib 'xbs>=20180326' rsync) +depends=('librelib>=20180428' 'xbs>=20180326' rsync) checkdepends=(libretools) -source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('a8b7f0f9c52ac9dd56bb85d9443239c8939edb3f5448bbe46b1cebd37c659000') +source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) +sha256sums=('dbacd9e7878f8b7877f87f19425c5b3d7f06b3081c4abd75625092d2a7c5969c' + 'SKIP') +validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9') # Luke Shumaker -_gitver='commit=b27f6fdadee4227ab32b8bf34fe609e5b44fdc35' +_gitver='commit=ffb88bb9082b68ec928811d05c76bcab8431a37b' mksource=("$pkgname-$pkgver::git://git.parabola.nu/packages/dbscripts.git/#$_gitver") mkmd5sums=('SKIP') @@ -45,6 +47,17 @@ package() { ln -sr "$pkgdir/$file" "$pkgdir/opt/$pkgname" 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/share/doc/$pkgname ln -sr "$pkgdir"/opt/$pkgname/README.md "$pkgdir"/usr/share/doc/$pkgname } |