diff options
author | Jack Kamm | 2017-10-30 09:18:14 +0000 |
---|---|---|
committer | Jack Kamm | 2017-10-30 09:18:14 +0000 |
commit | 6543fade2a8f83f7f014c6c6b7dd63047472db7f (patch) | |
tree | 955c1249f583857c1370c665e3e7443b30f674d5 /PKGBUILD | |
download | aur-6543fade2a8f83f7f014c6c6b7dd63047472db7f.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..82044397867a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jack Kamm <jackkamm@gmail.com> +pkgname=pantum-p2000-driver +pkgver="1.00_1" +pkgrel=1 +pkgdesc="Pantum 2000 Series Linux Driver (Ubutun12.04) V1.00" +arch=('x86_64') +url="http://global.pantum.com/global/" +license=('proprietary') +depends=('cups') +makedepends=('rpmextract' 'unzip') +source=( + "http://global.pantum.com/global/wp-content/uploads/2016/01/Pantum-P2000-Series-Linux-DriverUbutun12.04V1.00-1.zip" +) +md5sums=('0024556a55eacef3d63ed4478ea1490d') + +build() { + cd $srcdir + + unzip Pantum-P2000-Series-Linux-DriverUbutun12.04V1.00-1.zip + # rename unzipped directory, otherwise rpm2cpio breaks + mv ' Pantum 2000 Series Linux Driver (Ubutun12.04) V1.00' Pantum-P2000-Series-Linux-DriverUbutun12.04V1.00-1 + + mkdir -p ${pkgname}-${pkgver} + cd ./${pkgname}-${pkgver} + + rpm2cpio "../Pantum-P2000-Series-Linux-DriverUbutun12.04V1.00-1/Pantum-0.3-1.${arch}.rpm" | bsdtar -xf - +} + +package() { + cd ${pkgdir} + cp -a ${srcdir}/${pkgname}-${pkgver}/* . +} + +# vim:set ts=2 sw=2 et: |