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

Evangelos Foutras foutrelis at archlinux.org
Fri May 1 10:09:58 UTC 2020


    Date: Friday, May 1, 2020 @ 10:09:57
  Author: foutrelis
Revision: 623717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: libindi/repos/community-staging-x86_64/PKGBUILD (from rev 623716, libindi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-01 10:09:57 UTC (rev 623717)
@@ -0,0 +1,36 @@
+# 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.8.5
+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=('dda510e68a1f0a917091c55cde50683eed8c2e447ee212ba73d7f5b05b8fd569')
+
+prepare() {
+  mkdir -p build
+
+  sed -e 's|GROUP="plugdev", MODE="0666"|TAG+="uaccess"|' -i indi-$pkgver/drivers/*/*.rules
+}
+
+build() {
+  cd build
+  cmake ../indi-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -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