summaryrefslogtreecommitdiff
path: root/extra/libindi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-12 00:06:13 -0700
committerroot <root@rshg054.dnsready.net>2013-06-12 00:06:13 -0700
commitdf4e45a41dbb2c5b9600f2c2f824f8e3efbc5bf0 (patch)
treef54aa9c2807350cda9080c77b26961c365927af4 /extra/libindi
parentbf794523287bafc14671f83b08f7b22bceadc4bc (diff)
Wed Jun 12 00:06:12 PDT 2013
Diffstat (limited to 'extra/libindi')
-rw-r--r--extra/libindi/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/libindi/PKGBUILD b/extra/libindi/PKGBUILD
index 18a209e47..434a909be 100644
--- a/extra/libindi/PKGBUILD
+++ b/extra/libindi/PKGBUILD
@@ -1,22 +1,21 @@
-# $Id: PKGBUILD 62098 2010-01-02 09:13:44Z tpowa $
+# $Id: PKGBUILD 188185 2013-06-11 20:41:28Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libindi
pkgver=0.9.6
-pkgrel=1
+pkgrel=2
pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
url="http://www.indilib.org/index.php?title=Main_Page"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('libnova' 'cfitsio' 'boost-libs' 'libusb-compat')
-makedepends=('pkgconfig' 'cmake' 'boost')
+makedepends=('cmake' 'boost')
options=('!libtool')
source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz")
md5sums=('c1456544a36f543e2884f88913cf3eb0')
build() {
- cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -26,6 +25,11 @@ build() {
}
package() {
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}"/usr/lib/udev/rules.d
+ mv "${pkgdir}"/etc/udev/rules.d/99-gpusb.rules \
+ "${pkgdir}"/usr/lib/udev/rules.d/
+ rmdir "${pkgdir}"/etc/udev/rules.d "${pkgdir}"/etc/udev "${pkgdir}"/etc
}