summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD9
-rw-r--r--libretools.install40
2 files changed, 36 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e589b8..f978063 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,20 @@
+# Maintainer: Joshua Haase <hahj87@gmail.com
# Contributor: fauno <fauno@kiwwwi.com.ar>
+
pkgname=libretools
pkgver=$(date +%Y%m%d)
-pkgrel=3
+pkgrel=4
pkgdesc="Scripts for easing Parabola's tasks"
arch=('any')
url="http://parabolagnulinux.org"
license=('GPL3+')
-depends=(wget pacman)
+depends=(wget pacman devtools)
makedepends=(git)
backup=(etc/libretools.conf)
install=libretools.install
source=(libretools.install)
-md5sums=('35323c98f82edd0a410fd3372c0de947')
+md5sums=('b1761e6e641dbb9aaa15b0ddaf1638a9')
+
_gitroot="http://www.parabolagnulinux.org/projects/libretools.git" # Asumming setup for libretools
_gitname="libretools"
diff --git a/libretools.install b/libretools.install
index 36848f0..41305ee 100644
--- a/libretools.install
+++ b/libretools.install
@@ -1,15 +1,35 @@
+
# arg 1: the new package version
post_install() {
- echo "Edit /etc/libretools.conf to fit your needs"
- echo ""
- echo "For the scripts that can be run as normal user you can make"
- echo "custom configuration by copying /etc/libretools.conf to"
- echo "\$XDG_CONFIG_HOME/libretools/libretools.conf"
- echo ""
- echo "Your /etc/pacman.conf should have uncommented CacheDir option"
-}
+ cat <<EOF
+
+For using libremakepkg /etc/libretools.conf to fit your needs.
+
+For the scripts that can be run as normal user you can make
+custom configuration by copying /etc/libretools.conf to
+\$XDG_CONFIG_HOME/libretools/libretools.conf
+
+Your /etc/pacman.conf should have uncommented CacheDir option
+
+You should add this to your ~/.ssh/config file:
-# arg 1: the old package version
-post_remove() {
+# Parabola Host
+Host parabola
+ Port 22
+ HostName parabolagnulinux.org
+ User parabolavnx
+ IdentityFile ~/.ssh/id_dsa
+# End Parabola Host
+Edit IdentityFile as needed.
+
+EOF
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_install
}
+
+# vim:set ts=2 sw=2 et: