diff options
-rw-r--r-- | testing/uselessd/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/uselessd/APKBUILD b/testing/uselessd/APKBUILD new file mode 100644 index 0000000000..c56313a9d4 --- /dev/null +++ b/testing/uselessd/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=uselessd +pkgver=1 +pkgrel=0 +pkgdesc="A systemd replacement which uses less" +url="http://uselessd.darknedgy.net/" +arch="all" +license="GPL2 MIT" +depends="" +depends_dev="libcap-dev dbus-dev" +makedepends="$depends_dev intltool gperf coreutils m4" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://bitbucket.org/bcsd/uselessd/downloads/uselessd-$pkgver.tar.xz" + +_builddir="$srcdir"/uselessd-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-nls \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="a191949baa7913ff867d6ae214200c59 uselessd-1.tar.xz" +sha256sums="6a0cd808345928e6c6913caa251d3e97c77ec4cf673906b1adb4e232a327e2c3 uselessd-1.tar.xz" +sha512sums="51c0bdabe3bda63153205c2c3caac6402f7b5e46368b7a7dde1cde7a759669f9be687065b60ad8aac1bd32539b1d3e32b01e224e58d03fb2c5460a8d19f0ffaf uselessd-1.tar.xz" |