aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/cups/APKBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD
index 174e28f99c..709a2cf3d2 100644
--- a/main/cups/APKBUILD
+++ b/main/cups/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cups
pkgver=2.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="The CUPS Printing System"
url="https://github.com/OpenPrinting/cups/"
arch="all"
@@ -90,6 +90,15 @@ package() {
find usr/share/cups/model -name "*.ppd" | xargs gzip -n9f
}
+dev() {
+ default_dev
+
+ # needed for main cups operation
+ mv "$subpkgdir"/usr/share/cups/ppdc/* \
+ "$pkgdir"/usr/share/cups/ppdc
+ rmdir "$subpkgdir"/usr/share/cups/ppdc
+}
+
libs() {
pkgdesc="CUPS libraries"
depends=""