[arch-commits] Commit in libindi/repos (2 files)

Antonio Rojas arojas at archlinux.org
Wed May 22 15:28:49 UTC 2019


    Date: Wednesday, May 22, 2019 @ 15:28:48
  Author: arojas
Revision: 468577

archrelease: copy trunk to community-staging-x86_64

Added:
  libindi/repos/community-staging-x86_64/
  libindi/repos/community-staging-x86_64/PKGBUILD
    (from rev 468576, libindi/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: libindi/repos/community-staging-x86_64/PKGBUILD (from rev 468576, libindi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-22 15:28:48 UTC (rev 468577)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libindi
+pkgver=1.7.8
+pkgrel=2
+pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
+url="https://www.indilib.org/index.php?title=Main_Page"
+license=(GPL2)
+arch=(x86_64)
+depends=(libnova cfitsio libusb libjpeg gsl libtheora fftw)
+makedepends=(cmake boost qt5-base)
+#source=("https://github.com/indilib/indi/releases/download/v$pkgver/libindi_$pkgver.tar.gz")
+source=($pkgname-$pkgver.tar.gz::"https://github.com/indilib/indi/archive/v$pkgver.tar.gz")
+sha256sums=('55959bfa271048840782ee61a7c33d769790b7b3e333143de9c8bd60e6e8c5e2')
+
+prepare() {
+  mkdir -p build
+
+  sed -e 's|GROUP="plugdev", MODE="0666"|TAG+="uaccess"|' -i indi-$pkgver/libindi/drivers/*/*.rules
+}
+
+build() {
+  cd build
+  cmake ../indi-$pkgver/libindi \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DINDI_BUILD_QT5_CLIENT=ON \
+    -DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list