extra/cups to 2.3.1-1

This commit is contained in:
Kevin Mihelich 2019-12-17 13:21:23 +00:00
parent 4ef850b799
commit 67bc23358a

View file

@ -5,8 +5,8 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=2.3.0
pkgrel=4
pkgver=2.3.1
pkgrel=1
arch=('x86_64')
license=('Apache' 'custom')
url="https://www.cups.org/"
@ -23,7 +23,7 @@ source=(https://github.com/apple/cups/releases/download/v${pkgver}/cups-${pkgver
# bugfixes
cups-systemd-socket.patch
guid.patch)
sha256sums=('acaf0229cf008ea8f06353ffd1bbd62d71dbe88990dd3330650ef87edb95a1a5'
sha256sums=('1bca9d89507e3f68cbc84482fe46ae8d5333af5bc2b9061347b2007182ac77ce'
'SKIP'
'd87fa0f0b5ec677aae34668f260333db17ce303aa1a752cba5f8e72623d9acf9'
'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
@ -159,11 +159,6 @@ optdepends=('xdg-utils: xdg .desktop file support'
touch "${pkgdir}"/etc/cups/subscriptions.conf
chgrp -R 209 "${pkgdir}"/etc/cups
# fix dbus policy location - --with-dbusdir doens't work
install -dm755 "${pkgdir}"/usr/share/dbus-1/system.d
mv "${pkgdir}"/etc/dbus-1/system.d/cups.conf "${pkgdir}"/usr/share/dbus-1/system.d
rm -rf "${pkgdir}"/etc/dbus-1
# fix .desktop file
sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' "${pkgdir}"/usr/share/applications/cups.desktop