Files
extra/xournalpp/PKGBUILD
2025-06-22 20:39:04 -05:00

26 lines
873 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=xournalpp
pkgver=1.1.0
pkgrel=1
pkgdesc="Handwriting notetaking software with PDF annotation support"
url='https://github.com/xournalpp/xournalpp'
license=('GPL-2')
arch=('i686' 'x86_64')
depends=('gtk' 'poppler-glib' 'libxml2' 'portaudio' 'libsndfile' 'lua' 'libzip')
makedepends=('cmake' 'doxygen' 'graphviz')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/xournalpp/xournalpp/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('823d2561caa45bd7deb994bd71df0df35b6f279e04c4e8bb5d3f05f2fff2a68af8ea572f42095a9f28da5b2fdbe6b9b465aeca758d36ab29a24c62ea68c99c56')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
}