aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-09-28 13:13:17 +1300
committerDavid <dbphillipsnz@gmail.com>2014-09-28 13:13:17 +1300
commit73e1cc97462d7c2e950504e639c965ccb67895c8 (patch)
tree270cddca97cbd278c5bae6c9d34503a259a78a90 /build
parentae241b32b4062a15d2fbdc1a225710b5e93c2873 (diff)
downloadparamano-73e1cc97462d7c2e950504e639c965ccb67895c8.tar.xz
Added ebuild and PKGBUILD for Gentoo and Arch Linux respectively
Diffstat (limited to 'build')
-rw-r--r--build/PKGBUILD23
-rw-r--r--build/paramano-0.60.ebuild25
2 files changed, 48 insertions, 0 deletions
diff --git a/build/PKGBUILD b/build/PKGBUILD
new file mode 100644
index 0000000..b5c4469
--- /dev/null
+++ b/build/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: David Phillips (aka phillid) <dbphillipsnz at _remove this part if you want_ gmail dot com>
+
+pkgname=paramano
+pkgver=0.60
+pkgrel=1
+pkgdesc="Docking battery monitor and CPU governer controller (fork of trayfreq)"
+arch=('i686' 'x86_64' 'armv6h')
+url=(https://github.com/phillid/${pkgname})
+license=('GPL')
+depends=('gtk3' 'sudo')
+makedepends=()
+replaces="trayfreq-archlinux"
+source=(http://phillid.tk/source/${pkgname}-${pkgver}-${pkgrel}.tar.gz)
+sha1sums=('e5d91772a6848567fc9bf511168323331c8af2b1')
+backup=('etc/paramano.conf')
+
+build() {
+ make --directory=${srcdir}/${pkgname}-stable
+}
+
+package() {
+ make install DESTDIR=${pkgdir} --directory=${srcdir}/$pkgname-stable
+}
diff --git a/build/paramano-0.60.ebuild b/build/paramano-0.60.ebuild
new file mode 100644
index 0000000..a99135a
--- /dev/null
+++ b/build/paramano-0.60.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+DESCRIPTION="Docking battery monitor and CPU governer controller (fork of trayfreq)"
+HOMEPAGE="https://github.com/phillid/paramano"
+SRC_URI="http://phillid.tk/source/${P}-1.tar.gz"
+
+LICENSE="GPL"
+SLOT="0"
+
+inherit eutils
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/gtk+:3
+ app-admin/sudo"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-stable
+
+