summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
downloadaur-1df42336b35bca90d6d6537f6f85e0abdd3c12a9.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
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/"
+}
+