aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-04 23:57:53 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-04 23:57:53 -0300
commitdfabf192cd9cb621b6fb1d175b5ea690b0929118 (patch)
treec91bc2669e1b09f286519d602f113503f85073d2
parente094d1db98c73c595fcb9df62d81f1536b8663b3 (diff)
downloadaports-dfabf192cd9cb621b6fb1d175b5ea690b0929118.tar.gz
aports-dfabf192cd9cb621b6fb1d175b5ea690b0929118.tar.bz2
aports-dfabf192cd9cb621b6fb1d175b5ea690b0929118.tar.xz
community/wbar: modernize
-rw-r--r--community/wbar/APKBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/community/wbar/APKBUILD b/community/wbar/APKBUILD
index 12e600bcbf..0067296584 100644
--- a/community/wbar/APKBUILD
+++ b/community/wbar/APKBUILD
@@ -2,41 +2,34 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=wbar
pkgver=2.3.4
-pkgrel=1
-pkgdesc="A simple and customizable quick-launch desktop dock"
-url="https://code.google.com/p/wbar/"
+pkgrel=2
+pkgdesc="Simple and customizable quick-launch desktop dock"
+url="https://github.com/rodolf0/wbar"
arch="all"
-license="GPL-2.0"
-depends=""
-depends_dev=""
+license="GPL-3.0-only"
makedepends="libglade-dev intltool imlib2-dev"
-install=""
subpackages="$pkgname-lang $pkgname-doc"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wbar/wbar-$pkgver.tgz
Functions.patch
Main.patch"
-_builddir=$srcdir/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
default_prepare
sed -i '/-Werror/d' src/Makefile.*
}
build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --exec_prefix=/usr \
- --sysconfdir=/etc
- make || return 1
- }
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --exec_prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
package() {
- cd "$_builddir"
- make DESTDIR=${pkgdir} install
+ make DESTDIR=$pkgdir install
}
sha512sums="07f3484bd071761d57ef1172c56b30980eef9ce2ee65d1fc21ea20c631a1da1d88c1b8a9e1a1fca0e5f18e7bf1c5697c349a543d72966ce71ff53d7e921147b3 wbar-2.3.4.tgz