diff options
Diffstat (limited to 'unmaintained/snorenotify/APKBUILD')
-rw-r--r-- | unmaintained/snorenotify/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/snorenotify/APKBUILD b/unmaintained/snorenotify/APKBUILD new file mode 100644 index 0000000000..23f6d8ca9b --- /dev/null +++ b/unmaintained/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" |