blob: fc5a392227ad17b518cfeb291cdfebaa2c979843 (
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
29
30
31
|
# $Id: PKGBUILD 122890 2011-05-07 04:26:20Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=trayer
pkgver=1.0
pkgrel=5
pkgdesc="A lightweight GTK2-based systray"
arch=('i686' 'x86_64' 'mips64el')
url="https://gna.org/projects/fvwm-crystal/"
license=('GPL' 'MIT')
depends=('gtk2')
makedepends=('libxmu')
options=('!makeflags')
source=(http://download.gna.org/fvwm-crystal/trayer/${pkgver}/${pkgname}-${pkgver}.tar.gz
trayer.diff)
md5sums=('e1b0b6464f991f2c296561e377585867'
'7f66eee885563871f9f76646bca6b14d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 -i ../trayer.diff
sed -i 's/$(LIBS) $(OBJ) $(SYSTRAYOBJ)/$(OBJ) $(SYSTRAYOBJ) $(LIBS)/' Makefile
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX="${pkgdir}/usr" install
install -D -m644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|