diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-23 13:57:12 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-12-23 13:57:12 -0500 |
commit | 8b46da37a3d01169292b7982818947a4219e1bec (patch) | |
tree | 41af66c556c4cdd42cf0a8512275f38c816eed6a /libre/cups-libre/rePKGBUILD | |
parent | 8b024219267fe0dfe3a251ff966af66a1fd23d7b (diff) | |
parent | f7ad7579f473125b44db30248841e2d452f9547e (diff) | |
download | abslibre-8b46da37a3d01169292b7982818947a4219e1bec.tar.gz abslibre-8b46da37a3d01169292b7982818947a4219e1bec.tar.bz2 abslibre-8b46da37a3d01169292b7982818947a4219e1bec.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/cups-libre/rePKGBUILD')
-rw-r--r-- | libre/cups-libre/rePKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libre/cups-libre/rePKGBUILD b/libre/cups-libre/rePKGBUILD new file mode 100644 index 000000000..2ae999f9c --- /dev/null +++ b/libre/cups-libre/rePKGBUILD @@ -0,0 +1,52 @@ +# This is an example rePKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +CARCH=x86_64 +unset build package md5sums source check +_repo=extra +pkgname='cups-libre' +options=(!strip) +source=(PKGBUILD + http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgbase}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} + # files for pkg modifications + ) + +build() { + cd "${srcdir}/" + rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT || true + # put actions for package modifications below this line +} + +package_cups-libre() { + pkgdesc="The CUPS Printing System - daemon package" + provides=("${pkgbase}=${pkgver}") + replaces=("${pkgbase}") + conflicts=("${pkgbase}") + install=cups.install + backup=(etc/cups/cupsd.conf + etc/cups/mime.convs + etc/cups/mime.types + etc/cups/snmp.conf + etc/cups/printers.conf + etc/cups/classes.conf + etc/cups/client.conf + etc/cups/subscriptions.conf + etc/dbus-1/system.d/cups.conf + etc/logrotate.d/cups + etc/pam.d/cups + etc/xinetd.d/cups-lpd) + depends=('acl' 'openslp' 'pam' "libcups>=${pkgver}" 'poppler>=0.12.3' 'libusb-compat' 'dbus-core' 'hicolor-icon-theme') + optdepends=('php: for included phpcups.so module' + 'ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images' + 'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly' + 'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly' + 'xdg-utils: xdg .desktop file support') + + find ${srcdir} -type l -maxdepth 1 -delete + cd ${srcdir} + cp -a ./* ${pkgdir} +} |