summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: abfe49384a8fd4d574673a2f01173a874d0e3426 (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
# Maintainer: zlsun <zlsun1995 at gmail dot com>
# Contributor: yetist <yetist@gmail.com>

pkgname=lunar-calendar2
_pkgname=lunar-calendar
pkgver=2.4.1
pkgrel=1
pkgdesc="Chinese Lunar calendar widget for Gtk+"
arch=("i686" "x86_64")
url="http://code.google.com/p/liblunar/"
license=('GPL2')
depends=('gtk2>=2.22' 'lunar-date>=2.4.0')
source=("http://liblunar.googlecode.com/files/$_pkgname-$pkgver.tar.gz")
sha256sums=('8bed2f3f385b2e9103331e2f536dfb488d8576550b62788ff8dfcee6d19f5ce3')

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

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