summaryrefslogtreecommitdiff
path: root/user/libxdg-basedir/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 07:42:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 07:42:36 +0000
commit999bf9b0f1676d84456a5d1edf0d0ace03b27d6f (patch)
tree29fc8b78dc5fd55141a7e842778c2483d6ff7309 /user/libxdg-basedir/APKBUILD
parent28ed9fc1d657dbccab41a1bab094cb0aa056c4d3 (diff)
downloadpackages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.gz
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.bz2
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.xz
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/libxdg-basedir/APKBUILD')
-rw-r--r--user/libxdg-basedir/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/user/libxdg-basedir/APKBUILD b/user/libxdg-basedir/APKBUILD
index 50a1e7dfc..70fe0d512 100644
--- a/user/libxdg-basedir/APKBUILD
+++ b/user/libxdg-basedir/APKBUILD
@@ -1,27 +1,24 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
-# TODO: Repackage from better source, rehost or something.
pkgname=libxdg-basedir
pkgver=1.2.0
pkgrel=0
pkgdesc="library for XDG base dir specification"
-url="https://nevill.ch/libxdg-basedir/"
+url=" " # No URL.
arch="all"
license="MIT"
depends=""
-makedepends=""
+makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
-source="https://nevill.ch/libxdg-basedir/downloads/$pkgname-$pkgver.tar.gz"
+source="http://ponce.cc/slackware/sources/repo/libxdg-basedir-1.2.0.tar.xz"
prepare() {
- cd "$builddir"
default_prepare
- update_config_sub
+ ./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,13 +28,11 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="346553ddd9d0a0c854af9320f2ced695a0838adc18736b66120bea48ea60cb9ea3a7390672a42f83909db92f692e94de833d9e8bcfe51568a72ad1f4661fde06 libxdg-basedir-1.2.0.tar.gz"
+sha512sums="f1766cd94dd66fcba9211427910ef02c7f203c7bf655e74b903566a68521d1c156c9687cd89eca73428098c0a78a1458cada2057dd9268b6f6b48229c80b5d2e libxdg-basedir-1.2.0.tar.xz"