diff options
author | Daniel Müllner | 2015-06-10 20:13:09 +0200 |
---|---|---|
committer | Daniel Müllner | 2015-06-10 20:13:09 +0200 |
commit | 558f1c7485b5b15ef689d07e1edab005f59a2237 (patch) | |
tree | f7c745498178b14cb8555cd46b6ca455fe5e3445 | |
download | aur-558f1c7485b5b15ef689d07e1edab005f59a2237.tar.gz |
Initial import, version 1-2
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b4f31b181b25 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = samsung-ml1710 + pkgdesc = Samsung ML-1710 CUPS driver + pkgver = 1 + pkgrel = 2 + url = http://www.samsung.com + arch = i686 + arch = x86_64 + license = custom:samsung + depends = cups + depends = ghostscript + source = http://downloadcenter.samsung.com/content/DR/200707/20070720165436796_UnifiedLinuxDriver.tar.gz + sha256sums = 16eeb8ffd482289222b0defc9159a47db1402e5022233070d28fd27f07750754 + +pkgname = samsung-ml1710 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ef9c5849a576 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Daniel Müllner <daniel@danifold.net> +# Contributor: Marco Carrozzo <ozeta86@gmail.com> +pkgname=samsung-ml1710 +pkgver=1 +pkgrel=2 +pkgdesc="Samsung ML-1710 CUPS driver" +arch=('i686' 'x86_64') +depends=('cups' 'ghostscript') +license='custom:samsung' +url="http://www.samsung.com" +source=("http://downloadcenter.samsung.com/content/DR/200707/20070720165436796_UnifiedLinuxDriver.tar.gz") +sha256sums=('16eeb8ffd482289222b0defc9159a47db1402e5022233070d28fd27f07750754') + +package() { + cd $startdir/src/ || return 1 + # fix wrong modes in archive + chmod u=rwX,g=rX cdroot -R + chown root:root cdroot -R + install -m 644 -D "$startdir/src/cdroot/Linux/noarch/at_opt/share/ppd/ML-1710spl2.ppd" \ + "$startdir/pkg/usr/share/cups/model/ML-1710spl2.ppd" + if [ "$CARCH" = "x86_64" ]; then + install -m 755 -D "$startdir/src/cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl" \ + "$startdir/pkg/usr/lib/cups/filter/rastertosamsungspl" + else + install -m 755 -D "$startdir/src/cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl" \ + "$startdir/pkg/usr/lib/cups/filter/rastertosamsungspl" + fi +} |