summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel YC Lin2015-06-13 11:34:03 +0800
committerDaniel YC Lin2015-06-13 11:34:03 +0800
commitab22f323a2adb6b74395782375ebe3493f009290 (patch)
treee6be483e5b9d7138730b903c65480681a1e3ebb7
downloadaur-ab22f323a2adb6b74395782375ebe3493f009290.tar.gz
merge to aur4
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD27
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..19db9a9de33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ccal
+ pkgdesc = A console program which writes a calendar together with Chinese calendar to standard output.
+ pkgver = 2.5.3
+ pkgrel = 2
+ url = http://ccal.chinesebay.com/ccal/ccal.htm
+ arch = i686
+ arch = x86_64
+ arch = sh4
+ license = GPL
+ makedepends = gcc
+ depends = gcc-libs
+ depends = bash
+ source = http://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz
+ sha1sums = b44d73804ef3ba9129ae196887509f99b508401c
+
+pkgname = ccal
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5c8e21e4459
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+## Ignore everything
+*.zip
+*.xz
+*.gz
+*.bz2
+*.7z
+src/*
+pkg/*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..23b797251ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Daniel YC Lin <dlin at gmail>
+# Contributor: sssslang <xofyarg at gmail>
+# Contributor: kumkee <kumkee at gmail>
+pkgname=ccal
+pkgver=2.5.3
+pkgrel=2
+pkgdesc="A console program which writes a calendar together with Chinese calendar to standard output."
+arch=('i686' 'x86_64' sh4)
+url="http://ccal.chinesebay.com/ccal/ccal.htm"
+license="GPL"
+depends=('gcc-libs' 'bash')
+makedepends=('gcc')
+source=(http://ccal.chinesebay.com/ccal/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p $pkgdir/{usr/bin,usr/share/man/man1}
+ install -c ccal $pkgdir/usr/bin
+ install -c ccalpdf $pkgdir/usr/bin
+ install -c -m 0644 ccal.1 $pkgdir/usr/share/man/man1
+ install -c -m 0644 ccalpdf.1 $pkgdir/usr/share/man/man1
+}
+sha1sums=('b44d73804ef3ba9129ae196887509f99b508401c')