summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/util-macros/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/util-macros/APKBUILD b/user/util-macros/APKBUILD
new file mode 100644
index 000000000..f5b24e8b2
--- /dev/null
+++ b/user/util-macros/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=util-macros
+pkgver=1.19.2
+pkgrel=0
+pkgdesc="X.Org Autotools macros"
+url="https://www.X.Org/"
+arch="noarch"
+license="MIT"
+depends=""
+makedepends=""
+source="https://www.X.Org/releases/individual/util/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="3f51504b27f0478c136126f15110cf3cdbba218c4d74a8e974cca1381c6e8364609bd0c444f2fb19aa86a7f4e848dfce4f4da940463b224036f75a60b3d88619 util-macros-1.19.2.tar.bz2"