Mail archive
alpine-aports

[alpine-aports] [PATCH v2] testing/wayland-protocols: remove previously added -dev sub

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 27 Feb 2017 18:26:32 +0200

--
provides wayland-protocols-dev
add dummy check()
---
v1 -> v2: remove -dev completely
          because the whole package is for development only
---
 testing/wayland-protocols/APKBUILD | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/testing/wayland-protocols/APKBUILD b/testing/wayland-protocols/APKBUILD
index 31625e5842..4998c58f80 100644
--- a/testing/wayland-protocols/APKBUILD
+++ b/testing/wayland-protocols/APKBUILD
_at_@ -2,14 +2,15 @@
 # Maintainer: Valery Kartel <valery.kartel_at_gmail.com>
 pkgname=wayland-protocols
 pkgver=1.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
 url="http://wayland.freedesktop.org"
 arch="noarch"
 license="MIT"
-depends=""
+depends=
+provides="$pkgname-dev"
 makedepends="wayland-dev"
-subpackages="$pkgname-dev"
+subpackages=
 source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
 builddir="$srcdir/$pkgname-$pkgver"
 
_at_@ -26,17 +27,13 @@ build() {
 	make || return 1
 }
 
+check() {
+	:
+}
+
 package() {
 	make DESTDIR="$pkgdir" \
 		-C "$builddir" install || return 1
 }
 
-dev() {
-	mkdir -p "$subpkgdir"/usr/share || return 1
-	mv "$pkgdir"/usr/share/pkgconfig \
-		"$subpkgdir"/usr/share || return 1
-
-	default_dev
-}
-
 sha512sums="291a3226cc538de3b81bdffa5de513b305a946bfc3481e21c254fcc6a023e0cf2ff1869509c7ae193da02460f1d4a3c5cd5f1ca13b2550886acffcc636fb30d2  wayland-protocols-1.7.tar.xz"
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Feb 27 2017 - 18:26:32 GMT