summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2013-02-22 10:54:35 -0700
committerBrian Bidulock2015-06-10 22:41:56 -0600
commitccc4b0240e982fdd95ffd7aaecce846f301d274b (patch)
tree55d3a7d544e832ae32a99d6d19dd38e2387f1350
parent0a0ea0b1c14889e1042fef9fa39c92690fe91220 (diff)
downloadaur-ccc4b0240e982fdd95ffd7aaecce846f301d274b.tar.gz
version 0.0.2-3
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD56
2 files changed, 23 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be5b79763e1..012668782f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = wmcore
pkgdesc = A windowmaker dockapp which shows the usage of each core in the system
pkgver = 0.0.2
- pkgrel = 11
- url = http://web.archive.org/web/20121114121553/http://dockapps.windowmaker.org/file.php/id/362
+ pkgrel = 3
+ url = http://dockapps.windowmaker.org/file.php/id/362
arch = i686
arch = x86_64
+ groups = x11
license = GPL
- depends = libxpm
- source = wmcore-0.0.2.tar.gz
+ depends = libxext
+ source = http://dockapps.windowmaker.org/download.php/id/917/wmcore-0.0.2.tar.gz
md5sums = 26899aba55f84e649178ab8ab18f331e
pkgname = wmcore
diff --git a/PKGBUILD b/PKGBUILD
index 38501810964..fbaf6e97f91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,52 +1,32 @@
-# Maintainer: Brian Bidulock <bidulock@openss7.org>
-# Contributor: Alexej Magura <agm2819*gmail*com>
+# Maintainer: lspci <agm2819 at gmail dot com>
# Contributor: libernux <dutchman55l@gmx.com>
# Contributor: Brian Bidulock <bidulock@openss7.org>
-
pkgname=wmcore
pkgver=0.0.2
-pkgrel=11
+pkgrel=3
pkgdesc="A windowmaker dockapp which shows the usage of each core in the system"
arch=('i686' 'x86_64')
-#url="http://dockapps.windowmaker.org/file.php/id/362"
-url="http://web.archive.org/web/20121114121553/http://dockapps.windowmaker.org/file.php/id/362"
+url="http://dockapps.windowmaker.org/file.php/id/362"
license=('GPL')
-depends=('libxpm')
-#source=("http://dockapps.windowmaker.org/download.php/id/917/${pkgname}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz")
+groups=('x11')
+depends=('libxext')
+source=("http://dockapps.windowmaker.org/download.php/id/917/$pkgname-$pkgver.tar.gz")
md5sums=('26899aba55f84e649178ab8ab18f331e')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make clean
-
-}
-
+
build() {
-
- cd "$srcdir/$pkgname-$pkgver"
-
- make
+ cd "$srcdir/$pkgname-$pkgver"
+ make clean
+ make
}
package() {
-
- cd "$srcdir/$pkgname-$pkgver"
-
- install -m 755 -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
-
- if [[ -f "README" ]]; then
- install -m 644 -D "README" "$pkgdir/usr/share/doc/$pkgname/README"
- fi
-
- if [[ -f "CHANGES" ]]; then
- install -m 644 -D "CHANGES" "$pkgdir/usr/share/doc/$pkgname/CHANGES"
- fi
-
- if [[ -f "COPYING" ]]; then
- install -m 644 -D "COPYING" "$pkgdir/usr/share/doc/$pkgname/COPYING"
- fi
-
+ cd "$srcdir/$pkgname-$pkgver"
+# make install PREFIX="$pkgdir/usr/"
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/doc/$pkgname
+ install -c $pkgname $pkgdir/usr/bin/
+ cd ..
+# install -c README $pkgdir/usr/share/doc/$pkgname/
+ # --> Sorry, there doesn't seem to be a README file.
}