diff --git a/backports/libspnav/APKBUILD b/backports/libspnav/APKBUILD deleted file mode 100644 index 59763af..0000000 --- a/backports/libspnav/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: guddaff -# Maintainer: guddaff -pkgname=libspnav -pkgver=1.1 -pkgrel=0 -pkgdesc="library for communicating with spacenavd or 3dxsrv" -url="https://spacenav.sourceforge.net/" -arch="all" -license="BSD-3-Clause" -options="!check" #no checks -makedepends="libx11-dev" -subpackages="$pkgname-static $pkgname-dev" -source="https://github.com/FreeSpacenav/libspnav/releases/download/v$pkgver/libspnav-$pkgver.tar.gz - configure.patch - " - -prepare() { - default_prepare - sed -i "s/@PKGVERSION@/$pkgver/" "$builddir"/configure -} - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums=" -94770d9449dd02ade041d3589bcae7664fa990c4a4feca7b2b1e6542b65aa7073305595310b9e639f10716cf15aaad913e57496fb79bdd4dba5bf703ec8299ab libspnav-1.1.tar.gz -1536a172843459c1f26806ad774194afddf93baca0421d0803337eb90b6dd4bcc9dc9b6ebcb1a4e7de0c6f52b16da51538d302a07d57f0625a3a3311a14327f9 configure.patch -" diff --git a/backports/libspnav/configure.patch b/backports/libspnav/configure.patch deleted file mode 100644 index 5cc2fbb..0000000 --- a/backports/libspnav/configure.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure -+++ b/configure -@@ -6,18 +6,8 @@ - OPT=yes - DBG=yes - X11=yes --VER=`git describe --tags 2>/dev/null` -+VER="@PKGVERSION@" - --if [ -z "$VER" ]; then -- VER=`git rev-parse --short HEAD 2>/dev/null` -- if [ -z "$VER" ]; then -- VER=v`pwd | grep 'libspnav-[0-9]\+\.' | sed 's/.*libspnav-\(\([0-9]\+\.\)\+[0-9]\+\).*$/\1/'` -- if [ $VER = v ]; then -- VER='' -- fi -- fi --fi -- - echo "configuring libspnav - $VER" - - srcdir="`dirname "$0"`"