diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/suspend-utils/APKBUILD | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/suspend-utils/APKBUILD')
-rw-r--r-- | unmaintained/suspend-utils/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/unmaintained/suspend-utils/APKBUILD b/unmaintained/suspend-utils/APKBUILD new file mode 100644 index 0000000000..4342d1238e --- /dev/null +++ b/unmaintained/suspend-utils/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Andrew Hills <ahills@ednos.net> +# Maintainer: Andrew Hills <ahills@ednos.net> +pkgname=suspend-utils +pkgver=1.0 +pkgrel=0 +pkgdesc="Userspace Software Suspend (µswsusp)" +url="http://suspend.sourceforge.net" +arch="x86 x86_64" +license="GPL2" +depends="" +depends_dev="" +makedepends="$depends_dev pciutils-dev libx86-dev util-linux-dev linux-headers" +install="" +subpackages="$pkgname-doc" +source="http://sourceforge.net/projects/suspend/files/suspend/suspend-$pkgver/suspend-utils-$pkgver.tar.bz2 + define-gnu-source.patch" + +_builddir="$srcdir"/suspend-utils-$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 + + update_config_sub +} + +build() { + cd "$_builddir" + export CFLAGS=-std=gnu89 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="02f7d4b679bad1bb294a0efe48ce5934 suspend-utils-1.0.tar.bz2 +257194f9de1c5945fb28cbc0b958774c define-gnu-source.patch" +sha256sums="0206ba6332860b6da57acc79cc0f8604150ef0835ff9633fd42d59d181a6c85d suspend-utils-1.0.tar.bz2 +99f6e77021a20b1df769559a501ebbe4b1afd36e19ad1e53a72d8e11f909dc6b define-gnu-source.patch" +sha512sums="481f7ab6e6d43b963cf7abf4d16a9911035dbce13d96e11eeadd50bbd2b9671c597eab0e3060536dcb0d6d848e30ac0e7ff534275fc2d66d2064b75066a4adb8 suspend-utils-1.0.tar.bz2 +4acaa74c7466734a7da576e2d0c22a60112cb19d02516328b92ba1943fe280fa1b999be203e6c5fcc3d92d48092a72a6e7f3b2fac614c767f20de2e5c93c8da0 define-gnu-source.patch" |