aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/spectrwm/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/spectrwm/APKBUILD
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-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/spectrwm/APKBUILD')
-rw-r--r--unmaintained/spectrwm/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/spectrwm/APKBUILD b/unmaintained/spectrwm/APKBUILD
new file mode 100644
index 0000000000..f4f739ea56
--- /dev/null
+++ b/unmaintained/spectrwm/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Gabriel Ruse <garuse@gmail.com>
+# Maintainer: Gabriel Ruse <garuse@gmail.com>
+pkgname=spectrwm
+pkgver=2.7.2
+_realver="$(echo $pkgver | tr '.' '_')"
+pkgrel=1
+pkgdesc="A small dynamic tilling window manager for X11"
+url="https://github.com/conformal/spectrwm/wiki"
+arch="all"
+license="ICS"
+depends="dmenu"
+depends_dev=""
+makedepends="bsd-compat-headers libxcursor-dev libxft-dev
+ libxt-dev libxrandr-dev libxcb-dev xcb-util-cursor-dev
+ xcb-util-keysyms-dev xcb-util-wm-dev libxkbcommon-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/conformal/$pkgname/archive/SPECTRWM_${_realver}.tar.gz"
+
+_builddir="$srcdir"/$pkgname-SPECTRWM_$_realver/linux
+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
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install || return 1
+
+ mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ install -d "$pkgdir/usr/share/man/man1"
+ install -m644 ../*.1 "$pkgdir"/usr/share/man/man1/ || return 1
+ install -m644 ../*.conf "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+ install -m644 ../baraction.sh ../initscreen.sh ../screenshot.sh \
+ "$pkgdir"/usr/share/doc/"$pkgname" || return 1
+}
+
+md5sums="64755f7003faf099cebdc3e6b907c4d1 spectrwm-2.7.2.tar.gz"
+sha256sums="23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb spectrwm-2.7.2.tar.gz"
+sha512sums="9856bf8b6f2d9eea40edcb00e68a9d72751cd04367e797ded8deb929929944f45e17db8834ea5765a47891ba550c4db94d411e483c5d48805c593c55d522452f spectrwm-2.7.2.tar.gz"