summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorrealasking2017-08-24 14:14:17 +0800
committerrealasking2017-08-24 14:14:17 +0800
commit5b6b4bb5c1f377490041243c105cf5a736bd4188 (patch)
tree7fb26013f7d9436b60d3eb8f02c041dea46f1ea7 /PKGBUILD
downloadaur-colunar.tar.gz
colunar is a cli chinese luanr calendar
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45bb018b9b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+## Maintainer: realasking
+pkgname=colunar
+pkgver=0.1
+pkgrel=1
+pkgdesc='A very small Chinese Lunar Calendar can be used in CLI, awesome-widgets or conky, based on Lunar.This is a modified version.'
+arch=(x86_64 i686)
+url='http://archive.is/A1HYy#selection-281.0-281.123'
+license=('GPLv2')
+depends=('gcc')
+provides=('colunar')
+source=(
+ 'https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/colunar/colunar-0.1.tar.bz2'
+ '01-Fix-lunar-year-month-display.patch'
+)
+md5sums=(
+ '647d8df9c03aa85089a5437655944185'
+ '6bea10afa957fe97d9165390068d5928'
+)
+
+prepare() {
+ cd "${srcdir}"
+ patch -p0 <01-Fix-lunar-year-month-display.patch
+}
+
+build() {
+ cd "${srcdir}/colunar-0.1"
+ make
+}
+
+package() {
+ cd "${srcdir}/colunar-0.1"
+ install -Dm755 colunar "${pkgdir}/usr/bin/colunar"
+}