diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | lierolibre.install | 11 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee2cecdf87a5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Thu Jan 14 00:19:23 UTC 2016 +pkgbase = lierolibre + pkgdesc = Completely free Liero fork + pkgver = 0.5 + pkgrel = 1 + url = https://launchpad.net/lierolibre + install = lierolibre.install + arch = i686 + arch = x86_64 + license = LGPL2.1 + makedepends = boost + depends = sdl + depends = zlib + depends = libconfig + depends = sdl_mixer + depends = boost-libs + depends = hicolor-icon-theme + depends = xdg-utils + source = https://launchpad.net/lierolibre/trunk/0.5/+download/lierolibre-0.5.tar.xz + md5sums = f4c89eb6a55f7baa4594fe6f244ba793 + +pkgname = lierolibre + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2f2fef97d56 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> + +pkgname=lierolibre +pkgver=0.5 +pkgrel=1 +pkgdesc='Completely free Liero fork' +arch=('i686' 'x86_64') +url='https://launchpad.net/lierolibre' +license=('LGPL2.1') +depends=('sdl' 'zlib' 'libconfig' 'sdl_mixer' 'boost-libs' 'hicolor-icon-theme' + 'xdg-utils') +makedepends=('boost') +install=$pkgname.install +source=(https://launchpad.net/lierolibre/trunk/$pkgver/+download/lierolibre-$pkgver.tar.xz) +md5sums=('f4c89eb6a55f7baa4594fe6f244ba793') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --libexec=/usr/lib + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/lierolibre.install b/lierolibre.install new file mode 100644 index 000000000000..40a0fe821ad8 --- /dev/null +++ b/lierolibre.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |