summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3746633244091314e80533304efd6ef6ec7b26dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Alois Nespor <info@aloisnespor.info>
# Contributor: Kosava <kosava@archlinux.us>

pkgname=znotes
pkgver=0.4.5
pkgrel=7
pkgdesc="Lightweight crossplatform application for notes managment with simple interface"
arch=('i686' 'x86_64')
url="http://znotes.sourceforge.net"
license=('GPL')
depends=('qt5-tools')
source=(https://github.com/proton/zNotes/archive/master.zip)
md5sums=('SKIP')


build() {
   cd $srcdir/zNotes-master
   lrelease-qt5 znotes.pro
   qmake-qt5 QMAKE_CFLAGS_RELEASE="$CPPFLAGS $CFLAGS" QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS $CXXFLAGS" QMAKE_LFLAGS_RELEASE="$LDFLAGS" PREFIX=/usr
   make
}

package() {
   cd $srcdir/zNotes-master
   make INSTALL_ROOT=$pkgdir install
}
md5sums=('9604bc0f00aa169c6caac8f2ccad98ab')