summaryrefslogtreecommitdiff
path: root/community/adesklets
diff options
context:
space:
mode:
Diffstat (limited to 'community/adesklets')
-rw-r--r--community/adesklets/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/adesklets/PKGBUILD b/community/adesklets/PKGBUILD
index 607ac3847..7f7e84754 100644
--- a/community/adesklets/PKGBUILD
+++ b/community/adesklets/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=adesklets
pkgver=0.6.1
pkgrel=12
pkgdesc="An imlib2-based system to have interactive 'desklets'."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://adesklets.sourceforge.net/"
license=('GPL2')
depends=('imlib2' 'fontconfig' 'python2' 'perl' 'ttf-bitstream-vera' 'libx11')
@@ -26,6 +26,9 @@ build() {
#patch for fontconfig => 2.4
patch -Np0 -i "${srcdir}/fontconfig-2.4.patch"
+ # Fix linking problems.
+ sed -ri 's/^adesklets_LDFLAGS(.+) \\$/adesklets_LDADD\1 -lm \\/' src/Makefile.am
+
autoreconf
PYTHON=/usr/bin/python2 ./configure --prefix=/usr