Created
December 21, 2015 13:56
-
-
Save anonymous/f5af896c41448f5b8594 to your computer and use it in GitHub Desktop.
Pkgfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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