summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42c4d3013fd260e6bd41ca4222d1f441abc9e8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: zlsun <zlsun1995 at gmail dot com>
# Contributor: yetist <yetist@gmail.com>

pkgname=lunar-calendar-git
_pkgname=lunar-calendar
pkgver=3.0.0
pkgrel=1
pkgdesc="Chinese Lunar calendar widget for Gtk+"
arch=("i686" "x86_64")
url="https://github.com/yetist/$_pkgname"
license=('GPL2')
depends=('gtk3>=3.0.9' 'lunar-date>=2.4.0')
makedepends=('git' 'gnome-common' 'gobject-introspection')
conflicts=('lunar-calendar')
provides=('lunar-calendar')
source=("git+https://github.com/yetist/$_pkgname.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$_pkgname"
    ./autogen.sh
    ./configure --prefix=/usr
    make || return 1
}

package() {
    cd "$srcdir/$_pkgname"
    make DESTDIR="$pkgdir/" install || return 1
}