Browse files

Add PKGBUILD

  • Loading branch information...
1 parent 4d03b21 commit 2c054dba1f31a90b95d4f89a5fc36b85e416f09b @guns committed Oct 31, 2013
Showing with 31 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +28 −0 PKGBUILD
View
3 .gitignore
@@ -48,3 +48,6 @@ weechat.pc
stamp*
src/gui/curses/weechat
+
+/pkg/
+/*.tar.xz*
View
28 PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Sung Pae <self@sungpae.com>
+pkgname=weechat-guns
+pkgver=v0.4.2.23.g4d03b21
+pkgrel=1
+pkgdesc="Sung Pae's weechat build"
+arch=('x86_64')
+url="https://github.com/guns/weechat"
+license=('GPL')
+groups=('guns')
+depends=('gnutls' 'curl' 'libgcrypt')
+makedepends=('git' 'cmake' 'pkg-config' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
+provides=('weechat')
+conflicts=('weechat')
+
+pkgver() {
+ printf %s "$(git describe --long --tags | tr - .)"
+}
+
+build() {
+ cd "$startdir"
+ PREFIX=/usr JOBS=2 rake build
+}
+
+package() {
+ cd "$startdir"
+ rake DESTDIR="$pkgdir/" install
+}

0 comments on commit 2c054db

Please sign in to comment.