Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Archlinux PKGBUILD #80

Open
SpiritQuaddicted opened this issue Mar 10, 2015 · 0 comments
Open

Archlinux PKGBUILD #80

SpiritQuaddicted opened this issue Mar 10, 2015 · 0 comments

Comments

@SpiritQuaddicted
Copy link

More of a proposal than an issue. :)

I made an ugly PKGBUILD for Archlinux but realised I had no idea how to make it work properly for a global installation. We would need it to be able to read its files from /usr/share/quake/. Without #79 this would be really messy in my opinion.

# Maintainer: up for grabs, no need to credit me
pkgname=blinky-quake
pkgver=1.3
pkgrel=1
pkgdesc="A Quake engine for 'exploring peripheral vision in games'"
arch=('i686' 'x86_64')
url="https://github.com/shaunlebron/blinky"
license=('GPL')
depends=('libxxf86vm' 'libxxf86dga' 'lua>=5.2')
#install=$pkgname.install
source=(https://github.com/shaunlebron/blinky/archive/$pkgver.tar.gz)
sha1sums=('732c718f769bcf97e3070968c331fee525aacfea')

build() {
  cd blinky-$pkgver
  ./build.sh
}

package() {
  cd ${srcdir}/blinky-${pkgver}/
  mkdir -p ${pkgdir}/usr/bin
  mkdir -p ${pkgdir}/usr/share/quake
  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
  install -m755 game/blinky ${pkgdir}/usr/bin/
  cp -R game/lua-scripts ${pkgdir}/usr/share/quake/
  cp -R game/id1 ${pkgdir}/usr/share/quake/
  install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
}
@SpiritQuaddicted SpiritQuaddicted changed the title Archlinux PKGBUILD work-in-progress Archlinux PKGBUILD Mar 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant