Mail archive
alpine-aports

[alpine-aports] [PATCH] main/skalibs: Move /usr/lib/skalibs/sysdeps into the dev subpackage

From: Jesse Young <jlyo_at_jlyo.org>
Date: Sun, 26 Jul 2015 20:50:18 +0000

---
 main/skalibs/APKBUILD | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/main/skalibs/APKBUILD b/main/skalibs/APKBUILD
index ba4d140..18c437f 100644
--- a/main/skalibs/APKBUILD
+++ b/main/skalibs/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: John Regan <john_at_jrjrtech.com>
 pkgname=skalibs
 pkgver=2.3.5.1
-pkgrel=0
+pkgrel=1
 pkgdesc="A set of general-purpose C programming libraries for skarnet.org software."
 url="http://skarnet.org/software/skalibs/"
 arch="all"
_at_@ -46,6 +46,13 @@ package() {
 	rm -f "$pkgdir"/usr/lib/*.la
 }
 
+dev() {
+	default_dev
+	cd "$subpkgdir"
+	mv "$pkgdir/usr/lib/skalibs/sysdeps/"* usr/lib/skalibs/sysdeps/
+	rm -rf "$pkgdir/usr/lib/skalibs"
+}
+
 md5sums="d18e9361194e478f685a05b814658c0f  skalibs-2.3.5.1.tar.gz"
 sha256sums="9ef75d87bf6d586e828888e4cee6adbb74c06d6afcdb50f6c395644ce0e561d4  skalibs-2.3.5.1.tar.gz"
 sha512sums="2a29848eb08456df9ba1962cfa376635ee37f855bfcbbde33bf14f6bf8694b4a8e04ff7574c06a6ebc91eb180da8a1d11945845e3c5cd2ef48ff0e17ffa9ed6f  skalibs-2.3.5.1.tar.gz"
-- 
2.4.6
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Jul 26 2015 - 20:50:18 GMT