2021-01-11 14:15:25 +00:00
|
|
|
# Maintainer: Florian Freund <florian 88 freund aatt gmail ddoott ccoomm>
|
|
|
|
# Contributor: Mark Coolen <mark ddoott coolen aatt gmail ddoott ccoomm nniiccee!>
|
|
|
|
# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
|
|
|
|
|
|
|
|
_pkgname="xournalpp"
|
|
|
|
pkgname="${_pkgname}-git"
|
|
|
|
|
2021-01-14 12:22:03 +00:00
|
|
|
pkgver=1.0.15.r589.g1b718289
|
2021-01-11 14:15:25 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Xournal++ is a handwriting Notetaking software with PDF annotation support. Supports Pen input like Wacom Tablets.'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/xournalpp/xournalpp"
|
|
|
|
license=('GPL2')
|
|
|
|
makedepends=('git' 'cmake' 'cppunit')
|
|
|
|
depends=('texlive-bin' 'gtk3' 'poppler-glib' 'libxml2' 'portaudio' 'libsndfile' 'lua' 'libzip')
|
|
|
|
conflicts=('xournalpp')
|
2021-01-11 14:18:48 +00:00
|
|
|
provides=(xournalpp)
|
2021-01-11 14:15:25 +00:00
|
|
|
install="xournalpp.install"
|
|
|
|
source=("${_pkgname}::git+https://github.com/xournalpp/xournalpp.git")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${_pkgname}/"
|
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p "${srcdir}/${_pkgname}/build"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_pkgname}/build"
|
|
|
|
|
2021-01-11 14:17:01 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DENABLE_CPPUNIT=ON ..
|
2021-01-11 14:15:25 +00:00
|
|
|
cmake --build . --target pot
|
|
|
|
cmake --build . --target translations
|
|
|
|
cmake --build .
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "${srcdir}/${_pkgname}/build"
|
|
|
|
|
|
|
|
cmake --build . --target test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}/build"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
}
|