summaryrefslogtreecommitdiffstats
path: root/abs/extra/romdb
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/romdb
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/romdb')
-rw-r--r--abs/extra/romdb/PKGBUILD17
-rw-r--r--abs/extra/romdb/romdb.install18
2 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/romdb/PKGBUILD b/abs/extra/romdb/PKGBUILD
new file mode 100644
index 0000000..9601fc6
--- /dev/null
+++ b/abs/extra/romdb/PKGBUILD
@@ -0,0 +1,17 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=romdb
+pkgver=20051116_02
+pkgrel=2
+pkgdesc="Table used by MythGame to store information about games."
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://linhes.org/"
+source=(ftp://ftp.knoppmyth.net/R6/sources/romdb-20051116-02.tgz)
+install=romdb.install
+build() {
+ cd $startdir/src/
+ mkdir -p $startdir/pkg/usr/LH/sql
+ cp -a *.sql $startdir/pkg/usr/LH/sql
+}
diff --git a/abs/extra/romdb/romdb.install b/abs/extra/romdb/romdb.install
new file mode 100644
index 0000000..4ef33d4
--- /dev/null
+++ b/abs/extra/romdb/romdb.install
@@ -0,0 +1,18 @@
+# arg 1: the new package version
+post_install() {
+ mysql -D mythconverg -u mythtv -pmythtv < /usr/LH/sql/romdb-20051116-02.sql
+}
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+op=$1
+shift
+$op $*