Skip to content

Instantly share code, notes, and snippets.

Created December 21, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f5af896c41448f5b8594 to your computer and use it in GitHub Desktop.
Save anonymous/f5af896c41448f5b8594 to your computer and use it in GitHub Desktop.
Pkgfile
# Description: WeeChat is a fast, light and extensible chat client
# URL: http://www.weechat.org/
# Maintainer: Joacim Olsen Tangen, joacim at joac dot im
# Packager: nogagplz
# Depends on: libgcrypt, gnutls, cmake
# Nice to have: perl, lua, python, ruby, guile, asciidoc
name=weechat
version=1.3
release=1
source=(http://www.weechat.org/files/src/$name-$version.tar.bz2 patch)
build() {
cd $name-$version
patch -p1 -i $SRC/patch
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_MAN=on \
-DMANDIR=/usr/man \
-DENABLE_NLS=off \
-DCA_FILE=/etc/ssl/cert.pem
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/man/{de,fr,it,ja}/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment