summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn A Ginis2016-08-01 10:11:16 +0300
committerJohn A Ginis2016-08-01 10:11:16 +0300
commitec5690fcba96e9b63845bda05d4e46f8fd9ab420 (patch)
tree257d065413ab2a4d4a478aef9c58e4e4913e5823
downloadaur-ec5690fcba96e9b63845bda05d4e46f8fd9ab420.tar.gz
First time trying...
-rw-r--r--.SRCINFO43
-rw-r--r--PKGBUILD84
2 files changed, 127 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f42c57f2705
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,43 @@
+pkgbase = conky-lua-archers
+ pkgdesc = A free, light-weight system monitor for X with lua enabled for Arch based distros
+ pkgver = 1.10.4
+ 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 = 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=1.10.4_pre
+ conflicts = conky
+ conflicts = conky-lua
+ conflicts = conky-lua-arch
+ conflicts = conky-lua-nv
+ conflicts = conky-lua-archers-git
+ replaces = torsmo
+ replaces = conky
+ options = !strip
+ options = debug
+ source = https://github.com/brndnmtthws/conky/archive/v1.10.4.tar.gz
+ sha1sums = f2da0e3b8e6ff8ebc42b35f710f822e228616993
+
+pkgname = conky-lua-archers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..115180a33c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,84 @@
+# Maintainer : Yiannis A Ginis <drxspace[at]gmail[dot]com>
+# Contributor : Spyros Stathopoulos <foucault.online[at]gmail[dot]com>
+pkgname=conky-lua-archers
+_pkgname=conky
+pkgver=1.10.4
+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-git')
+provides=('conky=1.10.4_pre')
+depends=(
+ 'alsa-lib'
+ 'cairo'
+ 'curl'
+ 'glib2'
+ 'imlib2'
+ 'librsvg'
+ 'libxdamage'
+ 'libxft'
+ 'libxinerama'
+ 'libxml2'
+ 'libxnvctrl'
+ 'lua51'
+ 'tolua++'
+ 'wireless_tools'
+)
+makedepends=(
+ 'cmake'
+ 'docbook2x'
+ 'docbook-xml'
+ 'docbook-xsl'
+ 'perl-xml-libxml'
+)
+source=(https://github.com/brndnmtthws/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha1sums=('f2da0e3b8e6ff8ebc42b35f710f822e228616993')
+options=('!strip' 'debug')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd cmake
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ 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_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}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ 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
+}