summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
author刘超智2021-02-23 20:22:39 +0800
committer刘超智2021-02-23 20:22:39 +0800
commit5fc2776cfe2ec82138128d478dd76ea5138f2c68 (patch)
tree06c1e16d4c9b5fcfddf3dd716b7348234efc2907 /PKGBUILD
parent0fed9a73b7fcc581506b085444cbb0eba049fe7e (diff)
downloadaur-5fc2776cfe2ec82138128d478dd76ea5138f2c68.tar.gz
Update download source
‘ ’
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ea8b75ab7b6..e111d4475b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,23 @@
pkgname=lunar-calendar
pkgver=3.0.0
-pkgrel=1
-pkgdesc="Chinese Lunar calendar widget for Gtk+"
+pkgrel=4
+pkgdesc="a gtk+ calendar widget for chinese lunar library."
arch=("i686" "x86_64")
-url="http://code.google.com/p/liblunar/"
+url="https://github.com/yetist/lunar-calendar"
license=('GPL2')
-depends=('gtk3>=3.0.9' 'lunar-date>=2.4.0')
-source=("http://liblunar.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha256sums=('8cdbf367250e48774f79a10897126e0e92171b49167959b72554e583999a3294')
+depends=('gtk3' 'lunar-date')
+makedepends=('gtk-doc' 'ninja' 'meson' 'gobject-introspection' 'vala')
+source=("https://github.com/Chao-zhi/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('f3ade207cea7df9a22ac1b711d7b7afd6921a0d21c651170356d9e1720d1bffa')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make || return 1
+ meson build -Dprefix=/usr -Denable_gtk_modules=true
+ ninja -C build
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install || return 1
+ cd "$srcdir/$pkgname-$pkgver/build"
+ DESTDIR="${pkgdir}" ninja install
}