summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Val-Borro2015-07-09 14:22:33 -0400
committerMiguel de Val-Borro2015-07-09 14:41:00 -0400
commit1df42336b35bca90d6d6537f6f85e0abdd3c12a9 (patch)
tree2233ef1b08fdc55a9cf0d75af2034683dcc8eb71
downloadaur-1df42336b35bca90d6d6537f6f85e0abdd3c12a9.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD31
-rw-r--r--skychart.install9
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..798d23d6d2f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = skychart
+ pkgdesc = Free software to draw sky charts, also known as Cartes du Ciel
+ pkgver = 3.10
+ pkgrel = 1
+ url = http://www.ap-i.net/skychart/start
+ install = skychart.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = gtk2
+ depends = xplanet
+ source = http://sourceforge.net/projects/skychart/files/1-software/version_3.10/skychart-3.10-2854-linux_.tar.xz
+
+pkgname = skychart
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14f13f296df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer: Mihai Coman <mihai@m1x.ro>
+#Contributor: Alexander Vynnyk <cosmonaut@mail.ua>
+
+pkgname=skychart
+pkgver=3.10
+pkgrel=1
+pkgdesc="Free software to draw sky charts, also known as Cartes du Ciel"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk2' 'xplanet')
+url="http://www.ap-i.net/skychart/start"
+install=skychart.install
+
+case $CARCH in
+i686)
+ _real_arch=i386
+ sha1sums=('76a2276dd7233e2599b1616a64881165bc6dd665')
+;;
+x86_64)
+ _real_arch=x86_64
+ sha1sums=('d88b26fc04968e88c58c3ab21990af93f985813f')
+;;
+esac
+
+source=(http://sourceforge.net/projects/skychart/files/1-software/version_3.10/skychart-3.10-2854-linux_"${_real_arch}".tar.xz)
+
+package() {
+mkdir "${pkgdir}"/usr/
+tar -xf "${srcdir}"/skychart-"$pkgver"-2854-linux_"${_real_arch}".tar.xz --strip 1 -C "${pkgdir}/usr/"
+}
+
diff --git a/skychart.install b/skychart.install
new file mode 100644
index 00000000000..628c2a953bf
--- /dev/null
+++ b/skychart.install
@@ -0,0 +1,9 @@
+
+post_install() {
+ gtk-update-icon-cache
+}
+
+post_remove() {
+ gtk-update-icon-cache
+}
+