summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwillemw122020-10-19 10:34:00 +0200
committerwillemw122020-10-19 10:34:00 +0200
commit49127c2fefd32f151f10a69eaaf06d8fdbe2ac1b (patch)
tree910ceefa15508c168842629ae6c85d4a1a5930fd /PKGBUILD
parent6dcae4ad16241caab05afa97870a5d10812fd55b (diff)
downloadaur-49127c2fefd32f151f10a69eaaf06d8fdbe2ac1b.tar.gz
Change to libusb-compat (version 0.x.x)
Gzip man page. Update arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 650953286f17..ac060bdda320 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=libptp2
pkgver=1.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Library to communicate with PTP devices like cameras or MP3 players"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://libptp.sourceforge.net/"
license=('GPL')
-depends=('libusb')
+depends=('libusb-compat')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/libptp/$pkgname-$pkgver.tar.gz
ptpcam.1.man)
@@ -35,7 +35,8 @@ build() {
}
package() {
- install -Dm644 ptpcam.1 "$pkgdir/usr/share/man/man1/ptpcam.1"
+ install -dm755 "$pkgdir/usr/share/man/man1"
+ gzip ptpcam.1 > "$pkgdir/usr/share/man/man1/ptpcam.1.gz"
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install