summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 988dbcb6a46..41c3f7afafc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,18 +10,17 @@ url='https://github.com/Alecaddd/sequeler'
license=('GPL3')
depends=('granite' 'libgda-mysql' 'libgda-postgres')
makedepends=('meson' 'vala')
-source=("${url}/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('471fdf63fda568d4caddf6182897518e4b7abc1b4f5dfb466bd1dfc86d380f0c')
build() {
- cd "${pkgname}-${pkgver}"
- meson build --prefix=/usr
- ninja -C build
+ arch-meson "${pkgname}-${pkgver}" build
+ meson compile -C build
}
package() {
- DESTDIR="${pkgdir}" ninja -C "${pkgname}-${pkgver}/build" install
- install -Dm644 "${pkgname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ DESTDIR="${pkgdir}" meson install -C build
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md"
}
-# vim: ts=2 sw=2 et: \ No newline at end of file
+# vim: ts=2 sw=2 et: