summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libxpm/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libxpm/APKBUILD b/user/libxpm/APKBUILD
new file mode 100644
index 000000000..53f3e6fab
--- /dev/null
+++ b/user/libxpm/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxpm
+pkgver=3.5.12
+pkgrel=1
+pkgdesc="X11 pixmap library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libx11-dev libxext-dev libxt-dev util-linux-dev util-macros"
+source="https://www.X.Org/releases/individual/lib/libXpm-$pkgver.tar.bz2"
+builddir="$srcdir"/libXpm-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="a5707d5f758d577414101b0723af334fc8ac223e5b9f869994765735e1cbd8dafed48ea2851ebc479fecaf84381bfd5fbef842ec971a487f7fa9e77d54d3a17e libXpm-3.5.12.tar.bz2"