git » avrdude.git » commit 05c9e05

Use libusb instead of libusb-compat

author Jelle van der Waa
2019-04-20 13:10:17 UTC
committer Jelle van der Waa
2019-04-20 13:10:17 UTC
parent 9e62733769e55338b3af152de2a8a3422ab10003

Use libusb instead of libusb-compat

PKGBUILD +4 -4

diff --git a/PKGBUILD b/PKGBUILD
index f3bc978..7c6ce34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,20 @@
 
 pkgname=avrdude
 pkgver=6.3
-pkgrel=4
+pkgrel=5
 epoch=1
 pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
 arch=('x86_64')
 url="http://www.nongnu.org/avrdude/"
 license=('GPL')
-depends=('readline' 'libftdi' 'libusb-compat' 'elfutils')
+depends=('readline' 'libftdi' 'libusb' 'elfutils')
 source=(http://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz{,.sig})
 validpgpkeys=('EF497ABE47ED91B3FC3D7EA54D902FF7723BDEE9' '5E84F980C3CAFD4BB5841070F48CA81B69A85873')
 md5sums=('58bb42049122cf80fe4f4d0ce36d92ee'
          'SKIP')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
+	cd "${pkgname}-${pkgver}"
 
   	./configure --mandir=/usr/share/man \
 		    --prefix=/usr \
@@ -26,7 +26,7 @@ build() {
 }
 
 package() {
-  	cd "${srcdir}/${pkgname}-${pkgver}"
+  	cd "${pkgname}-${pkgver}"
 
 	make DESTDIR="${pkgdir}" install
 }