Skip to content

Instantly share code, notes, and snippets.

@Profpatsch
Created March 14, 2013 17:23
Show Gist options
  • Save Profpatsch/5163296 to your computer and use it in GitHub Desktop.
Save Profpatsch/5163296 to your computer and use it in GitHub Desktop.
# Maintainer: Cloudef <mailroxas@gmail.com>
# Lightweight clipboard manager for X
pkgname=loliclip
pkgver=2.4
pkgrel=6
pkgdesc='Lightweight clipboard manager for X'
arch=('i686' 'x86_64')
url='http://cloudef.eu'
license=('WTFPL')
depends=('libxcb' 'zlib')
makedepends=('gcc')
source=('loliclip.c' 'config.h' 'lolictrl')
# Debug build?
DEBUG=0
[[ $DEBUG -eq 1 ]] && options=(!strip)
package() {
[[ $DEBUG -eq 0 ]] || gcc -g "$srcdir/loliclip.c" -lxcb -lz -o "$srcdir/loliclip"
[[ $DEBUG -eq 0 ]] && gcc -DNDEBUG -s -Os "$srcdir/loliclip.c" -lxcb -lz -o "$srcdir/loliclip"
install -Dm775 "$srcdir/lolictrl" "${pkgdir}/usr/bin/lolictrl"
install -Dm755 "$srcdir/loliclip" "${pkgdir}/usr/bin/loliclip"
}
md5sums=('2a920041c9171595f0acdb6a8335154b'
'd5939e93ca151ec858d47c7d7f1aaf88'
'78bd5c29b39a3911d436d282c2d7e16c')
# vim: set ts=8 sw=3 tw=0 :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment