diff options
author | 刘超智 | 2021-02-23 20:22:39 +0800 |
---|---|---|
committer | 刘超智 | 2021-02-23 20:22:39 +0800 |
commit | 5fc2776cfe2ec82138128d478dd76ea5138f2c68 (patch) | |
tree | 06c1e16d4c9b5fcfddf3dd716b7348234efc2907 | |
parent | 0fed9a73b7fcc581506b085444cbb0eba049fe7e (diff) | |
download | aur-5fc2776cfe2ec82138128d478dd76ea5138f2c68.tar.gz |
Update download source
‘
’
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 23 insertions, 19 deletions
@@ -1,17 +1,20 @@ -# Generated by mksrcinfo v8 -# Fri May 20 09:23:59 UTC 2016 pkgbase = lunar-calendar - pkgdesc = Chinese Lunar calendar widget for Gtk+ + pkgdesc = a gtk+ calendar widget for chinese lunar library. pkgver = 3.0.0 - pkgrel = 1 - url = http://code.google.com/p/liblunar/ + pkgrel = 3 + url = https://github.com/yetist/lunar-calendar arch = i686 arch = x86_64 license = GPL2 - depends = gtk3>=3.0.9 - depends = lunar-date>=2.4.0 - source = http://liblunar.googlecode.com/files/lunar-calendar-3.0.0.tar.gz - sha256sums = 8cdbf367250e48774f79a10897126e0e92171b49167959b72554e583999a3294 + depends = gtk3 + depends = lunar-date + depends = gtk-doc + depends = ninja + depends = meson + depends = gobject-introspection + depends = vala + source = https://github.com/yetist/lunar-calendar/archive/v3.0.0.tar.gz + sha256sums = ff1385f1025fd902e0a198c0f532a50fa504b418d19f1b62725e6081e8dcf102 pkgname = lunar-calendar @@ -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 } |