summaryrefslogtreecommitdiff
path: root/extra/mousepad/PKGBUILD
blob: 9b3e0a5992da801a86217b84c3b3f2193994a51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 58320 2009-11-07 00:36:34Z allan $
# Maintainer: tobias [tobias at archlinux.org]

pkgname=mousepad
pkgver=0.2.16
pkgrel=2
pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)" 
arch=(i686 x86_64)
groups=('xfce4') 
license="GPL2" 
depends=('libxfcegui4>=4.6.0' 'desktop-file-utils')
makedepends=('pkgconfig' 'intltool' 'perl')
options=('!libtool')
url=('http://www.xfce.org/~benny/apps.html')
install=${pkgname}.install
source=(http://www.xfce.org/archive/xfce-4.6.0/src/${pkgname}-${pkgver}.tar.bz2
        resensitize-find-button.patch)
md5sums=('d98854edb76d823ac20b266fdf5a64a1'
         '1fbc153fbd47ebb95d93f7084dea93e0')

build() { 
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i $srcdir/resensitize-find-button.patch
  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
    --localstatedir=/var --disable-static
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}