Date: Saturday, January 10, 2015 @ 09:15:07 Author: andrea Revision: 228875
upgpkg: libspnav 0.2.3-1 Upstream release Modified: libspnav/trunk/PKGBUILD Deleted: libspnav/trunk/Makefile.patch ----------------+ Makefile.patch | 51 --------------------------------------------------- PKGBUILD | 16 +++++++++------- 2 files changed, 9 insertions(+), 58 deletions(-) Deleted: Makefile.patch =================================================================== --- Makefile.patch 2015-01-10 06:34:14 UTC (rev 228874) +++ Makefile.patch 2015-01-10 08:15:07 UTC (rev 228875) @@ -1,51 +0,0 @@ ---- libspnav-0.2.2/Makefile.in 2010-03-28 00:24:27.000000000 +0100 -+++ a/trunk/libspnav/Makefile.in 2014-03-05 15:33:07.590597866 +0100 -@@ -4,10 +4,12 @@ - lib_a = libspnav.a - soname = libspnav.so.0 - lib_so = $(soname).1 -+devlink = libspnav.so - - CC = gcc - AR = ar --CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -+CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include $(user_cflags) -+LDFLAGS = $(user_ldflags) - - .PHONY: all - all: $(lib_a) $(lib_so) -@@ -16,7 +18,7 @@ - $(AR) rcs $@ $(obj) - - $(lib_so): $(obj) -- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) -+ $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) $(LDFLAGS) - - %.o: $(srcdir)/%.c - $(CC) $(CFLAGS) -c $< -o $@ -@@ -31,13 +33,19 @@ - - .PHONY: install - install: $(lib_a) $(lib_so) -- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) -- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) -- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done -+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include -+ cp $(lib_a) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a) -+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) -+ rm -f $(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) -+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done - - .PHONY: uninstall - uninstall: -- rm -f $(PREFIX)/$(libdir)/$(lib_a) -- rm -f $(PREFIX)/$(libdir)/$(lib_so) -- for i in $(hdr); do rm -f $(PREFIX)/include/$$i; done -+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a) -+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) -+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) -+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) -+ for i in $(hdr); do rm -f $(DESTDIR)$(PREFIX)/include/$$i; done - Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-01-10 06:34:14 UTC (rev 228874) +++ PKGBUILD 2015-01-10 08:15:07 UTC (rev 228875) @@ -3,18 +3,17 @@ # Contributor: Jan Hambrecht <jaham at gmx dot net> pkgname=libspnav -pkgver=0.2.2 -pkgrel=5 +pkgver=0.2.3 +pkgrel=1 pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices" arch=('i686' 'x86_64') -url="http://spacenav.sourceforge.net/" +url='http://spacenav.sourceforge.net/' license=('GPL') -depends=('glibc') -makedepends=('libx11') +depends=('libx11') source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz" 'Makefile.patch') -md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae' - 'cc008ea9f5e1abb870c0e2dbc86c3b86') +md5sums=('44d840540d53326d4a119c0f1aa7bf0a' + 'aa7575aff0453cedff30030369576083') prepare() { cd ${pkgname}-${pkgver} @@ -31,4 +30,7 @@ package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install + + # Remove static lib + rm "${pkgdir}"/usr/lib/libspnav.a }