diff options
author | Matthias Rudnick | 2024-01-03 12:28:23 +0100 |
---|---|---|
committer | Matthias Rudnick | 2024-01-03 12:28:23 +0100 |
commit | 501b329f5a345a36d9d3f61905f42917f7102d5a (patch) | |
tree | f2d2cce249ff52bd13eb8dd023896b268dd79093 | |
parent | 1d52747e94c2dff8176ff3b486d66198a75f9050 (diff) | |
download | aur-dudenbib.tar.gz |
Update package to 6.4
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rwxr-xr-x | duden.install | 6 |
3 files changed, 35 insertions, 25 deletions
@@ -1,23 +1,22 @@ -# Generated by mksrcinfo v8 -# Sat Mar 26 19:24:29 UTC 2016 pkgbase = dudenbib pkgdesc = Utility to view books from Duden, Brockhaus and some others - pkgver = 5.2.0 + pkgver = 6.4.0 pkgrel = 1 url = http://www.duden.de/deutsche_sprache/index.php?nid=185 + install = duden.install arch = i686 arch = x86_64 license = custom:dudenbib - depends = libxmu - depends = libxft - depends = libxcursor - depends = libxrandr - depends = gcc-libs - depends = libxi - depends = libxinerama - noextract = dudenbib-5.2.0-1-debian-ubuntu.deb - source = http://www.duden.de/sites/default/files/downloads/servicepacks/bibliothek/dudenbib-5.2.0-1-debian-ubuntu.deb - md5sums = 21a695fc2d905014776fa919acd9b1e6 + depends = lib32-libxmu + depends = lib32-libxft + depends = lib32-libxcursor + depends = lib32-libxrandr + depends = lib32-gcc-libs + depends = lib32-libxi + depends = lib32-libxinerama + depends = lib32-libxcb + noextract = dudenbibliothek6_6.4.0.7_amd64.deb + source = https://cdn.duden.de/downloads/proxy/2001_duden_bibliothek-update-6.4/dudenbibliothek6_6.4.0.7_amd64.deb + md5sums = 7d82bf1ebb715ab8be7d506998a3ec26 pkgname = dudenbib - @@ -2,25 +2,30 @@ # Contributor: Felix <flx.bier at googlemail dot com> pkgname=dudenbib -pkgver=5.2.0 -pkgrel=1 +pkgver=6.4.0 +pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Utility to view books from Duden, Brockhaus and some others" url="http://www.duden.de/deutsche_sprache/index.php?nid=185" license=('custom:dudenbib') - -depends=('libxmu' 'libxft' 'libxcursor' 'libxrandr' 'gcc-libs' 'libxi' 'libxinerama') +install=duden.install +depends=('libxmu' 'libxft' 'libxcursor' 'libxrandr' 'gcc-libs' 'libxi' 'libxinerama' 'libxcb') if [ "$CARCH" = "x86_64" ]; then for i in ${!depends[*]}; do depends[$i]="lib32-"${depends[$i]}; done fi - -FILE="$pkgname-$pkgver-1-debian-ubuntu.deb" -source=("http://www.duden.de/sites/default/files/downloads/servicepacks/bibliothek/$FILE") +FILE="dudenbibliothek6_6.4.0.7_amd64.deb" +source=("https://cdn.duden.de/downloads/proxy/2001_duden_bibliothek-update-6.4/$FILE") noextract=("$FILE") -md5sums=('21a695fc2d905014776fa919acd9b1e6') - +md5sums=('7d82bf1ebb715ab8be7d506998a3ec26') package() { - ar -x $FILE data.tar.gz - tar -zxf data.tar.gz -C "$pkgdir" + ar -x $FILE data.tar.zst control.tar.zst + tar -xf data.tar.zst -C "$pkgdir" + tar -xf control.tar.zst + + chmod -R 755 "${pkgdir}/opt" + chmod -R 755 "${pkgdir}/usr" + + install -Dm755 "${srcdir}/postinst" "${pkgdir}/usr/share/dudenbib/postinst" } + diff --git a/duden.install b/duden.install new file mode 100755 index 000000000000..be5213727a8b --- /dev/null +++ b/duden.install @@ -0,0 +1,6 @@ +post_install() { + /usr/share/dudenbib/postinst +} +post_remove(){ + rm /usr/share/applications/Duden-Bibliothek.desktop +} |