diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-23 03:03:02 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-23 03:03:02 +0200 |
commit | d446c81d60e872f988290dfe29035d686dbda2d4 (patch) | |
tree | c25fa2338a5c5331e63cbd3e4ab387b0d7ac5344 | |
parent | a2286e02e1978560579a768e509cd1980a943ab6 (diff) | |
download | aports-d446c81d60e872f988290dfe29035d686dbda2d4.tar.bz2 aports-d446c81d60e872f988290dfe29035d686dbda2d4.tar.xz |
testing/snorenotify: new aport
-rw-r--r-- | testing/snorenotify/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/snorenotify/APKBUILD b/testing/snorenotify/APKBUILD new file mode 100644 index 0000000000..23f6d8ca9b --- /dev/null +++ b/testing/snorenotify/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=snorenotify +pkgver=0.5.2 +pkgrel=0 +pkgdesc="Snorenotify is a multi platform Qt notification framework" +url="https://github.com/Snorenotify/Snorenotify" +arch="all" +license="LGPL3" +depends="" +depends_dev="qt-dev" +makedepends="$depends_dev cmake doxygen" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/Snorenotify/Snorenotify/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/Snorenotify-$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() { + mkdir -p "$_builddir"/build + cd "$_builddir"/build + cmake "$_builddir" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="508dafd77c2cb1b57239c1dc6ad73727 snorenotify-0.5.2.tar.gz" +sha256sums="105d09fc7bbf2da357046d8227f4530eac4fc027f7a90d0c7dc984b4a337649d snorenotify-0.5.2.tar.gz" +sha512sums="d86c061d4dbda002391333e62b987690916526866b9dd1904304ef92b314cb2f7812c46477666f22508803fbffeeaabea85f00e65389ffa5041dbc92f2241808 snorenotify-0.5.2.tar.gz" |