blob: c3e11b51d60895fce528a9f6b97662c11e04fbc7 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Patrizio Bekerle <patrizio at bekerle dot com>
pkgname=qownnotes
pkgver=19.5.5
tag="90bd86589844c69a5358a10ea9be5b00424c6b33"
pkgrel=1
pkgdesc="Open source notepad and todo list manager with markdown support and ownCloud/Nextcloud integration"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='http://www.qownnotes.org/'
license=('GPL2')
groups=('qownnotes')
depends=('qt5-base' 'qt5-svg' 'qt5-declarative' 'openssl' 'qt5-xmlpatterns' 'qt5-websockets')
makedepends=('qt5-tools')
source=("https://download.tuxfamily.org/${pkgname}/src/${pkgname}-${pkgver}.tar.xz")
sha256sums=('50817c626c5c12726ee4090a248cae4d821d6148a9d3d869b9c54d0fe8eef34d')
prepare() {
cd "${pkgname}-${pkgver}"
echo "#define RELEASE \"AUR\"" > release.h
}
build() {
cd "${pkgname}-${pkgver}"
qmake QMAKE_CFLAGS_RELEASE="${CFLAGS}" QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
make
}
package() {
cd "${pkgname}-${pkgver}"
# install application
install -D -m755 QOwnNotes "${pkgdir}/usr/bin/QOwnNotes"
# install visuals
install -D -m644 PBE.QOwnNotes.desktop "${pkgdir}/usr/share/applications/PBE.QOwnNotes.desktop"
install -D -m644 "images/icons/128x128/apps/QOwnNotes.png" "${pkgdir}/usr/share/pixmaps/QOwnNotes.png"
for format in {16x16,24x24,32x32,48x48,64x64,96x96,128x128,256x256,512x512}; do
install -D -m644 "images/icons/${format}/apps/QOwnNotes.png" "${pkgdir}/usr/share/icons/hicolor/$format/apps/QOwnNotes.png"
done
install -D -m644 "images/icons/scalable/apps/QOwnNotes.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/QOwnNotes.svg"
# install languages
install -d "${pkgdir}/usr/share/QOwnNotes/languages/"
install -D -m644 languages/*.qm "${pkgdir}/usr/share/QOwnNotes/languages/"
}
|