summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2018-05-23 21:03:13 -0600
committerBrian Bidulock2018-05-23 21:03:13 -0600
commitb30f4c12527e8c33dafc2dcccf6e9bfb3d44b56c (patch)
tree26ba0902e95861fa3eafd2094f0595846b576447 /PKGBUILD
parent27ebdaa9f67af26d872469e4ed8a50d1ae93b2c2 (diff)
downloadaur-b30f4c12527e8c33dafc2dcccf6e9bfb3d44b56c.tar.gz
uppkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 16 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2c9930e0958..877dc8946f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,31 @@
# Maintainer: Brian Bidulock <bidulock@openss7.org>
+
pkgname=wmclock
-pkgver=1.0.14
+pkgver=1.0.16
pkgrel=1
pkgdesc="Dockable clock applet for Window Maker"
arch=('i686' 'x86_64')
-url="http://www.bluestop.org/wmclock/"
+url="http://www.dockapps.net/wmclock/"
license=("GPL")
depends=('libxpm')
optdepends=('windowmaker')
-makedepends=('imake')
-source=("http://www.bluestop.org/wmclock/${pkgname}-${pkgver}.tar.gz"
- "fix_12_year_display.patch"
- "manpage_fixes.patch"
- "manpage_xpm_notes.patch")
-md5sums=('15a83f45e2baabec26b22a2153aa2417'
- '3063f4dd017b24046ba9d0c932d85583'
- 'cff551b14bab22daad6f546602ddb90a'
- '7e716bc8b110a41e548f7bbaf707b2b9')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+source=("https://www.dockapps.net/download/$pkgname-$pkgver.tar.gz")
+sha256sums=('3f8bb5df3160d5919d19cf26d45449e6e1260d2a2f485e61f35e64a49639a2d3')
- for patch in ${srcdir}/*.patch ; do
- patch -Np1 -i "${patch}"
- done
+prepare() {
+ cd dockapps-*
+ autoreconf -fiv
+}
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --sharedir=/usr/share
- make
+build() {
+ cd dockapps-*
+ ./configure --prefix=/usr
+ make V=0
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- make DESTDIR=${pkgdir} install.man
- make DESTDIR=${pkgdir}/usr install.share
- install -Dm644 README ${pkgdir}/usr/share/doc/wmclock/README
+ cd dockapps-*
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 README "${pkgdir}"/usr/share/doc/wmclock/README
}