summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-09-04 16:35:04 +0100
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-09-04 16:35:04 +0100
commit6919be81b4d6579b77873c7040919d6d1f0696ad (patch)
treed05abdf0db300d72fdc97a6ec6de9bf703fd6af6 /PKGBUILD
parent12a55ee6e3451223a40af7bcef7242478e485b21 (diff)
Added PKGBUILD to master, and made imagemagick a optdepend.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..cb8de05
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Laurie Clark-Michalek <bluepeppers@archlinux.us>
+
+pkgname=archey3
+pkgver=20110612
+pkgrel=1
+pkgdesc="Python script to display system infomation alongside Arch Linux logo"
+arch=('any')
+url="http://bluepeppers.github.com/archey3"
+license=('GPL')
+depends=('python' 'imagemagick')
+makedepends=('git' 'python-distribute')
+optdepends=(
+ 'python3-mpd-git: python mpd libary for mpd protocol (optional, mpc can be used instead)'
+ 'python-logbook-git: for logging'
+ 'imagemagick: for default screenshot command'
+)
+conflicts=('archey')
+provides=('archey')
+md5sums=()
+
+_gitroot="git://github.com/bluepeppers/archey3.git"
+_gitname="archey3"
+
+build() {
+ cd ${srcdir}
+ msg "Connecting to GIT server...."
+
+ if [ -d archey3 ] ; then
+ cd archey3 && git pull origin
+ msg "The local files are updated."
+ else
+ git clone ${_gitroot}
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ cd ${srcdir}/${_gitname}
+
+ python setup.py install --root=${pkgdir}
+ # Comment line below to install side by side with standard archey
+ ln -s /usr/bin/archey3 ${pkgdir}/usr/bin/archey || return 1
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/archey/COPYING
+}