Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=lang_numx
- pkgver=20120229
- pkgrel=1
- pkgdesc='Keyboard layout numlock indicator'
- arch=('i686' 'x86_64')
- license=('GPL')
- depends=('qt' 'libx11' 'libxtst')
- provides=(lang_numx)
- _gitroot="git://github.com/VlaoMao/lang_numx.git"
- _gitname="lang_numx"
- build(){
- cd ${srcdir}
- if [[ -d $_gitname ]]; then
- (cd $_gitname && git pull origin)
- else
- git clone $_gitroot $_gitname
- fi
- mkdir -p build
- cd build
- qmake ../${_gitname}
- make
- }
- package() {
- cd ${srcdir}/build
- install -D -m755 "./lang_numx" "${pkgdir}/usr/bin/lang_numx"
- }
Advertisement
Add Comment
Please, Sign In to add comment