summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn A Ginis2016-07-31 20:42:12 +0300
committerJohn A Ginis2016-07-31 20:42:12 +0300
commit634a8c6ee7f9f1188cbf05697cf1dfc757301bbf (patch)
treec86fc268a30d4f2429f532756f9e3422ff562824
downloadaur-634a8c6ee7f9f1188cbf05697cf1dfc757301bbf.tar.gz
useful commit message
-rw-r--r--.SRCINFO44
-rw-r--r--PKGBUILD93
2 files changed, 137 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..129a60f1183
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,44 @@
+pkgbase = conky-lua-archers-git
+ pkgdesc = A free, light-weight system monitor for X with lua enabled for Arch based distros
+ pkgver = 3145.3b4b9ab
+ pkgrel = 1
+ url = https://github.com/brndnmtthws/conky/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ license = BSD
+ makedepends = cmake
+ makedepends = docbook2x
+ makedepends = docbook-xml
+ makedepends = docbook-xsl
+ makedepends = git
+ makedepends = perl-xml-libxml
+ depends = alsa-lib
+ depends = cairo
+ depends = curl
+ depends = glib2
+ depends = imlib2
+ depends = librsvg
+ depends = libxdamage
+ depends = libxft
+ depends = libxinerama
+ depends = libxml2
+ depends = libxnvctrl
+ depends = lua51
+ depends = tolua++
+ depends = wireless_tools
+ provides = conky
+ conflicts = conky
+ conflicts = conky-lua
+ conflicts = conky-lua-arch
+ conflicts = conky-lua-nv
+ conflicts = conky-lua-archers
+ replaces = torsmo
+ replaces = conky
+ options = !strip
+ options = debug
+ source = git://github.com/brndnmtthws/conky.git
+ sha1sums = SKIP
+
+pkgname = conky-lua-archers-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c9357063eb8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,93 @@
+# Maintainer : Yiannis A Ginis <drxspace[at]gmail[dot]com>
+pkgname=conky-lua-archers-git
+_pkgname=conky
+pkgver=3145.3b4b9ab
+pkgrel=1
+pkgdesc="A free, light-weight system monitor for X with lua enabled for Arch based distros"
+arch=('i686' 'x86_64')
+url="https://github.com/brndnmtthws/conky/"
+license=('GPL3' 'BSD')
+replaces=('torsmo' 'conky')
+conflicts=('conky' 'conky-lua' 'conky-lua-arch' 'conky-lua-nv' 'conky-lua-archers')
+provides=('conky')
+depends=(
+ 'alsa-lib'
+ 'cairo'
+ 'curl'
+ 'glib2'
+ 'imlib2'
+ 'librsvg'
+ 'libxdamage'
+ 'libxft'
+ 'libxinerama'
+ 'libxml2'
+ 'libxnvctrl'
+ 'lua51'
+ 'tolua++'
+ 'wireless_tools'
+)
+makedepends=(
+ 'cmake'
+ 'docbook2x'
+ 'docbook-xml'
+ 'docbook-xsl'
+ 'git'
+ 'perl-xml-libxml'
+)
+source=("git://github.com/brndnmtthws/${_pkgname}.git")
+sha1sums=('SKIP')
+options=('!strip' 'debug')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "${srcdir}/${_pkgname}"
+ mkdir build/
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}/build"
+ cmake \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D MAINTAINER_MODE=ON \
+ -D BUILD_BUILTIN_CONFIG=ON \
+ -D BUILD_APCUPSD=ON \
+ -D BUILD_ARGB=ON \
+ -D BUILD_CURL=ON \
+ -D BUILD_I18N=ON \
+ -D BUILD_IMLIB2=ON \
+ -D BUILD_IOSTATS=ON \
+ -D BUILD_IPV6=ON \
+ -D BUILD_LUA_CAIRO=ON \
+ -D BUILD_LUA_IMLIB2=ON \
+ -D BUILD_LUA_RSVG=ON \
+ -D BUILD_MOC=OFF \
+ -D BUILD_MPD=OFF \
+ -D BUILD_NVIDIA=OFF \
+ -D BUILD_OLD_CONFIG=ON \
+ -D BUILD_PULSEAUDIO=ON \
+ -D BUILD_WLAN=ON \
+ -D BUILD_X11=ON \
+ -D BUILD_XDAMAGE=ON \
+ -D BUILD_XDBE=ON \
+ -D BUILD_XFT=ON \
+ -D BUILD_XINERAMA=ON \
+ -D DEFAULTNETDEV=enp7s4 \
+ -D OWN_WINDOW=ON \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}/build"
+ make DESTDIR=${pkgdir} install
+ cd ..
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -D -m644 LICENSE.BSD ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.BSD
+ install -D -m644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
+ install -D -m644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
+}