initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

45
qownnotes/PKGBUILD Normal file
View File

@@ -0,0 +1,45 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=qownnotes
pkgver=22.8.4
pkgrel=1
pkgdesc="Plain-text file markdown note"
arch=('i686' 'x86_64')
url='https://www.qownnotes.org/'
license=('GPL-2')
depends=('qt-base' 'qt-svg' 'qt-declarative' 'libressl' 'qt-xmlpatterns' 'qt-websockets' 'qt-x11extras' 'aspell')
makedepends=('qt-tools')
source=("https://download.tuxfamily.org/${pkgname}/src/${pkgname}-${pkgver}.tar.xz")
sha512sums=('57f10786a2bb107172c3797e561b0885c9a916f1a6c4233c1672929ae3438c7796b6e7b62d3e32a4c29ecd38587ac31352db872ff5c88a503b0725f04145fc64')
prepare() {
cd "${pkgname}-${pkgver}"
echo "#define RELEASE \"Hyperbola\"" > 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"
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/qt5/translations/"
install -D -m644 languages/*.qm "${pkgdir}/usr/share/qt5/translations/"
# install license
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
}