diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-10-23 11:37:03 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-23 14:25:40 -0300 |
commit | 6e18bad09fde88c01f4460a2eae5cd41593efcd4 (patch) | |
tree | 4114fc1821476ce6aa86b54255752bafd048801c | |
parent | 428d7fe55a05346d408585a4ebef7baa2a8e52a5 (diff) | |
download | aports-6e18bad09fde88c01f4460a2eae5cd41593efcd4.tar.bz2 aports-6e18bad09fde88c01f4460a2eae5cd41593efcd4.tar.xz |
testing/hplip: switch to python3
-rw-r--r-- | testing/hplip/APKBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/testing/hplip/APKBUILD b/testing/hplip/APKBUILD index 899933ee28..8069c7fcc4 100644 --- a/testing/hplip/APKBUILD +++ b/testing/hplip/APKBUILD @@ -4,21 +4,19 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> pkgname=hplip pkgver=3.19.1 -pkgrel=1 +pkgrel=2 pkgdesc="Drivers for HP printers and scanners" arch="x86 x86_64" # missing sane on several arches url="http://hplipopensource.com" license="GPL" -depends="" -makedepends="libjpeg-turbo-dev net-snmp-dev cups-dev libusb-dev sane-dev gawk python-dev" +makedepends="libjpeg-turbo-dev net-snmp-dev cups-dev libusb-dev sane-dev gawk python3-dev" subpackages="$pkgname-doc $pkgname-libs sane-backend-hpaio:sane" -source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz +source="https://downloads.sourceforge.net/hplip/hplip-$pkgver.tar.gz fix-includes.patch types-musl.patch disable_upgrade.patch 0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch " -builddir="$srcdir"/$pkgname-$pkgver prepare() { default_prepare @@ -26,7 +24,6 @@ prepare() { } build() { - cd "$builddir" ./configure --prefix=/usr \ --with-docdir=/usr/share/doc/$pkgname \ --disable-doc-build \ @@ -39,12 +36,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install rm -fr "$pkgdir"/usr/bin \ "$pkgdir"/etc/udev \ |