blob: bc31936a1aec558cfc581061a9ac8ef734b71f7d (
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
|
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org>
pkgname=xteddy
pkgver=2.2
pkgrel=3
pkgdesc='Your virtual comfort when things get rough'
url='http://webstaff.itn.liu.se/~stegu/xteddy/'
license=('GPL')
depends=('imlib2')
arch=('i686' 'x86_64' 'armv7h')
source=("http://webstaff.itn.liu.se/~stegu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('e48f1f616980b747b3e528a7bb3a46605986e87e05cbad1385992931098acd8857cdd9fa7c38bca94007e74d1ab13cfd567fe6e502eecf8691e24272bd98159b')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed '/AM_LDFLAGS =/s/$/ -lXext/' -i Makefile.*
sed 's:/usr/games/xteddy:/usr/bin/xteddy:g' -i xtoys
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|