summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorŁukasz Pożarlik2020-05-04 10:14:39 +0200
committerŁukasz Pożarlik2020-05-04 10:14:39 +0200
commit420bea63910a0dfaf48788ff3a3a118e967eb76b (patch)
tree9089c5c98c3cdc300f0eaccafc285a6e311b5fb7 /PKGBUILD
downloadaur-420bea63910a0dfaf48788ff3a3a118e967eb76b.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..0478f1da04b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Łukasz Pożarlik <lpozarlik@gmail.com>
+
+pkgname=gsc
+pkgver=1.2
+pkgrel=1
+pkgdesc="INDI driver for an Arduino USB/ST-4 Interface"
+url="http://e2rd.piekielko.pl/debian/"
+license=(GPL2)
+arch=(i686 x86_64)
+depends=()
+makedepends=(cmake)
+source=("http://cdsarc.u-strasbg.fr/viz-bin/nph-Cat/tar.gz?bincats/GSC_${pkgver}")
+sha256sums=('514d23ff0daf7b91801813ad3db6ad1c484402b453bd649757e477c3a83da48d')
+
+build() {
+ GSCBIN=/usr/share/GSC/bin
+ GSCDAT=/usr/share/GSC
+ cd ${srcdir}/src
+ make clean
+ make
+}
+
+package() {
+ cd ${srcdir}
+ for file in $(find N* -type f); do
+ install -v -m 644 -D ${file} "${pkgdir}/usr/share/GSC/${file#source/}"
+ done
+ install -v -m 755 -D src/gsc.exe "${pkgdir}/usr/share/GSC/bin/gsc"
+ install -v -m 644 -D bin/regions.bin "${pkgdir}/usr/share/GSC/bin/regions.bin"
+ install -v -m 644 -D bin/regions.ind "${pkgdir}/usr/share/GSC/bin/regions.ind"
+}