updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / gnome-swallow / PKGBUILD
blobfbe3cc7dc9991d96d7916039f73bd3075d745751
1 pkgname=gnome-swallow
2 pkgver=1.2
3 pkgrel=1
4 pkgdesc="Applet that keeps a window inside the panel."
5 url="http://interreality.org/~tetron/technology/swallow/"
6 license="GPL"
7 depends=('gnome-panel' 'libgnomeui')
8 makedepends=('')
9 arch=('i686')
10 source=(http://interreality.org/~tetron/technology/swallow/${pkgname}-${pkgver}.tar.gz patch-v4-debian.diff)
12 md5sums=('9a278a8b5031957f7ca4f5f99044ba8e'
13          'd258f2167bc46c802b88a0bb3bf82182')
17 build() {
18         cd "${srcdir}/${pkgname}-${pkgver}"
19         echo Patching...
20         patch -p1 < ../patch-v4-debian.diff
21         echo Running autoreconf
22         autoreconf || return 1
23         echo Running ./configure
24         ./configure --prefix='/usr/' || return 1
25         echo Running make
26         make || return 1
29 package() {
30   cd "${srcdir}/${pkgname}-${pkgver}"
31   echo Running make install
32   make DESTDIR="${pkgdir}" install
33   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"