diff options
author | Josip Ponjavic | 2021-12-15 16:24:44 +0100 |
---|---|---|
committer | Josip Ponjavic | 2021-12-15 16:24:44 +0100 |
commit | 0522f1d7b92d2f4081a953d5e7a00d1ff07e86ac (patch) | |
tree | 996c9f19b1d9631e7ec77ec3ec48f364326e0747 | |
parent | 284dd89d9c86edaafce62242d6739175ff15a845 (diff) | |
download | aur-notes-up-git.tar.gz |
upgpkg: 2.0.6.r0.g7c7e26a-1 upstream switch to meson
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 14 insertions, 22 deletions
@@ -1,17 +1,17 @@ pkgbase = notes-up-git - pkgdesc = Notes Up is a notes manager written for elementary OS - pkgver = 1.5.2.r9.g855d213 + pkgdesc = Write beautiful notes fast and easy using Markdown + pkgver = 2.0.6.r0.g7c7e26a pkgrel = 1 url = https://github.com/Philip-Scott/Notes-up arch = x86_64 license = GPL2 - makedepends = cmake makedepends = git - makedepends = vala>=0.39.0 + makedepends = meson + makedepends = vala depends = discount - depends = gtksourceview3 + depends = granite + depends = gtksourceview4 depends = gtkspell3 - depends = libgranite.so depends = webkit2gtk provides = notes-up conflicts = notes-up @@ -19,4 +19,3 @@ pkgbase = notes-up-git sha256sums = SKIP pkgname = notes-up-git - @@ -2,14 +2,14 @@ # Contributor: pkgname=notes-up-git -pkgver=1.5.2.r9.g855d213 +pkgver=2.0.6.r0.g7c7e26a pkgrel=1 -pkgdesc="Notes Up is a notes manager written for elementary OS" +pkgdesc='Write beautiful notes fast and easy using Markdown' arch=('x86_64') url="https://github.com/Philip-Scott/Notes-up" license=('GPL2') -depends=('discount' 'gtksourceview3' 'gtkspell3' 'libgranite.so' 'webkit2gtk') -makedepends=('cmake' 'git' 'vala>=0.39.0') +depends=('discount' 'granite' 'gtksourceview4' 'gtkspell3' 'webkit2gtk') +makedepends=('git' 'meson' 'vala') provides=("${pkgname%-*}") conflicts=("${pkgname%-*}") source=("${pkgname%-*}::git+${url}.git") @@ -20,19 +20,12 @@ pkgver() { git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../"${pkgname%-*}" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -Dnoele=1 - make + arch-meson ${pkgname%-*} build + ninja -C build } package() { - make -C build DESTDIR="${pkgdir}" install + DESTDIR="$pkgdir" ninja -C build install + ln -s com.github.philip_scott.notes-up "$pkgdir/usr/bin/${pkgname%-*}" } |