[arch-commits] Commit in libspnav/trunk (Makefile.patch PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sat Jan 10 09:36:25 UTC 2015


    Date: Saturday, January 10, 2015 @ 10:36:25
  Author: andrea
Revision: 228881

Do not use absolute paths for symlinks

Modified:
  libspnav/trunk/Makefile.patch
  libspnav/trunk/PKGBUILD

----------------+
 Makefile.patch |    4 ++--
 PKGBUILD       |    5 +----
 2 files changed, 3 insertions(+), 6 deletions(-)

Modified: Makefile.patch
===================================================================
--- Makefile.patch	2015-01-10 09:17:12 UTC (rev 228880)
+++ Makefile.patch	2015-01-10 09:36:25 UTC (rev 228881)
@@ -6,8 +6,8 @@
  		rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \
 -		ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
 -		ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
-+		ln -s $(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
-+		ln -s $(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
++		ln -s $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
++		ln -s $(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
  		true
  	for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done
  

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-10 09:17:12 UTC (rev 228880)
+++ PKGBUILD	2015-01-10 09:36:25 UTC (rev 228881)
@@ -13,7 +13,7 @@
 source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
         'Makefile.patch')
 md5sums=('44d840540d53326d4a119c0f1aa7bf0a'
-         'f7411a03115ff50de47c3fb53f0dc5e9')
+         '74661fdaa2c4bca8f226a83951458228')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -30,7 +30,4 @@
 package() {
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
-
-  # Remove static lib
-  rm "${pkgdir}"/usr/lib/libspnav.a
 }



More information about the arch-commits mailing list