mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/snorenotify: new aport
This commit is contained in:
parent
a2286e02e1
commit
d446c81d60
47
testing/snorenotify/APKBUILD
Normal file
47
testing/snorenotify/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user