diff options
author | Stefan Wagner <stw@bit-strickerei.de> | 2016-10-25 22:36:40 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-11-15 12:32:20 +0100 |
commit | e82a237f35e1712400ab60779ac379537f4fa4a4 (patch) | |
tree | 5151f0429b7d856c9b007ef5c0385288e5c2bb79 | |
parent | c2c37e8be0b205a394ab0df97f391838ef36e007 (diff) | |
download | aports-e82a237f35e1712400ab60779ac379537f4fa4a4.tar.bz2 aports-e82a237f35e1712400ab60779ac379537f4fa4a4.tar.xz |
testing/macchanger: move from unmaintained
As I am still using this package, I will claim maintainership for it.
-rw-r--r-- | testing/macchanger/APKBUILD (renamed from unmaintained/macchanger/APKBUILD) | 39 | ||||
-rw-r--r-- | testing/macchanger/fix-caddr_t.patch (renamed from unmaintained/macchanger/fix-caddr_t.patch) | 0 |
2 files changed, 12 insertions, 27 deletions
diff --git a/unmaintained/macchanger/APKBUILD b/testing/macchanger/APKBUILD index eac6d27145..3d1c76d569 100644 --- a/unmaintained/macchanger/APKBUILD +++ b/testing/macchanger/APKBUILD @@ -1,4 +1,6 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Stefan Wagner <stw@bit-strickerei.de> +# Maintainer: Stefan Wagner <stw@bit-strickerei.de> pkgname=macchanger pkgver=1.7.0 pkgrel=0 @@ -6,43 +8,26 @@ pkgdesc="An utility for viewing/manipulating the MAC address of network interfac url="https://github.com/alobbs/macchanger" arch="all" license="GPLv3+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" +makedepends="linux-headers" subpackages="$pkgname-doc" -source="https://github.com/alobbs/macchanger/releases/download/$pkgver/macchanger-$pkgver.tar.gz - fix-caddr_t.patch - " - -_builddir="$srcdir"/macchanger-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="https://github.com/alobbs/macchanger/releases/download/$pkgver/$pkgname-$pkgver.tar.gz + fix-caddr_t.patch" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var || return 1 + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="ca56f16142914337391dac91603eb332 macchanger-1.7.0.tar.gz diff --git a/unmaintained/macchanger/fix-caddr_t.patch b/testing/macchanger/fix-caddr_t.patch index c5fe5f6e16..c5fe5f6e16 100644 --- a/unmaintained/macchanger/fix-caddr_t.patch +++ b/testing/macchanger/fix-caddr_t.patch |