summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302015-06-17 15:38:25 +0200
committerM0Rf302015-06-17 15:38:25 +0200
commitc35489285244513a1651f7122d723d64e9797e1e (patch)
tree6f86d131d8095e25c696ddcc7ff05598b5b5b937
downloadaur-c35489285244513a1651f7122d723d64e9797e1e.tar.gz
Initial import
-rw-r--r--.AURINFO19
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD21
-rw-r--r--hoteldruid.install12
4 files changed, 71 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..48ae923fbe6
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,19 @@
+pkgbase = hoteldruid
+ pkgdesc = A php software to manage hotel reservations and booking
+ pkgver = 2.1.1
+ pkgrel = 1
+ url = http://www.digitaldruid.net/php-residence/
+ install = hoteldruid.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = php
+ depends = mysql
+ optdepends = apache: Web server to run wordpress
+ optdepends = cherokee: Lightweight Web server to run wordpress
+ conflicts = php-residence
+ source = http://www.digitaldruid.net/download/hoteldruid_2.1.1.tar.gz
+ md5sums = aec2542864f938647db29bc6ee25d02f
+
+pkgname = hoteldruid
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..48ae923fbe6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = hoteldruid
+ pkgdesc = A php software to manage hotel reservations and booking
+ pkgver = 2.1.1
+ pkgrel = 1
+ url = http://www.digitaldruid.net/php-residence/
+ install = hoteldruid.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = php
+ depends = mysql
+ optdepends = apache: Web server to run wordpress
+ optdepends = cherokee: Lightweight Web server to run wordpress
+ conflicts = php-residence
+ source = http://www.digitaldruid.net/download/hoteldruid_2.1.1.tar.gz
+ md5sums = aec2542864f938647db29bc6ee25d02f
+
+pkgname = hoteldruid
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5a158fe0c2a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: M0Rf30
+
+pkgname=hoteldruid
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="A php software to manage hotel reservations and booking"
+arch=('i686' 'x86_64')
+url="http://www.digitaldruid.net/php-residence/"
+license=('GPL')
+depends=('php' 'mysql')
+optdepends=('apache: Web server to run wordpress' 'cherokee: Lightweight Web server to run wordpress')
+install=${pkgname}.install
+conflicts=('php-residence')
+source=(http://www.digitaldruid.net/download/${pkgname}_${pkgver}.tar.gz)
+
+package() {
+ install -d $pkgdir/srv/http/$pkgname
+ cp -r $srcdir/$pkgname/* ${pkgdir}/srv/http/$pkgname
+}
+
+md5sums=('aec2542864f938647db29bc6ee25d02f')
diff --git a/hoteldruid.install b/hoteldruid.install
new file mode 100644
index 00000000000..7dbb79c8029
--- /dev/null
+++ b/hoteldruid.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo "Now you must install o configure your web server (PHP Compatible) to run Wordpress"
+}
+
+pre_remove() {
+ cp -r /srv/http/hoteldruid /srv/http/hoteldruid_backup
+ echo "Your HotelDruid folder was backed up to /srv/http/hoteldruid_backup"
+}
+
+post_remove() {
+ rm -rf /srv/http/hoteldruid
+}