[arch-commits] Commit in libusb-compat/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Apr 10 20:32:34 UTC 2019


    Date: Wednesday, April 10, 2019 @ 20:32:33
  Author: arojas
Revision: 350547

https

Modified:
  libusb-compat/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-10 20:28:46 UTC (rev 350546)
+++ PKGBUILD	2019-04-10 20:32:33 UTC (rev 350547)
@@ -10,16 +10,16 @@
 url="http://libusb.sourceforge.net/"
 license=('LGPL')
 depends=('libusb' 'sh')
-source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
+source=("https://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-static
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 }
 


More information about the arch-commits mailing list