diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2015-09-01 17:28:02 -0400 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:14:59 -0300 |
commit | b54c19b7f9876aad6506d45b711a7de177ccc543 (patch) | |
tree | 0fd8be6d1602d8391f91a0a3aa0a6144af659557 | |
parent | d5495d54c78a969226d8159bc4211d0e9d12cf38 (diff) | |
download | abslibre-b54c19b7f9876aad6506d45b711a7de177ccc543.tar.gz abslibre-b54c19b7f9876aad6506d45b711a7de177ccc543.tar.bz2 abslibre-b54c19b7f9876aad6506d45b711a7de177ccc543.zip |
adding xteddy
-rw-r--r-- | pcr/xteddy/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/xteddy/PKGBUILD b/pcr/xteddy/PKGBUILD new file mode 100644 index 000000000..bc31936a1 --- /dev/null +++ b/pcr/xteddy/PKGBUILD @@ -0,0 +1,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 +} |