diff options
-rw-r--r-- | main/cups/APKBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD index d938d9842e..f9f3828c8b 100644 --- a/main/cups/APKBUILD +++ b/main/cups/APKBUILD @@ -1,11 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cups pkgver=1.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="The CUPS Printing System" url="http://www.cups.org/" arch="all" -license="GPL" +license="GPL LGPL2+" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs ipptool $pkgname-client $pkgname-lang" depends_dev="openssl-dev zlib-dev" @@ -20,7 +20,6 @@ source="http://www.cups.org/software/$pkgver/cups-$pkgver-source.tar.bz2 cupsd.initd " - _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i @@ -33,8 +32,7 @@ prepare() { } build() { - cd "$srcdir"/$pkgname-$pkgver - + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -63,7 +61,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make BUILDROOT="$pkgdir" install rm -rf "$pkgdir"/etc/init.d \ "$pkgdir"/etc/rc* \ |