summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-04 06:47:22 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-04 06:47:22 (GMT)
commitb51150cb7b21d9040857fef6ad5fa0d934ac427d (patch)
tree563a53cc94062afd69c4d630e7f9f00ffb473c3e /abs
parentb605b83eeb72d084bc43ceeeee22685e459127e4 (diff)
downloadlinhes_pkgbuild-b51150cb7b21d9040857fef6ad5fa0d934ac427d.zip
linhes_pkgbuild-b51150cb7b21d9040857fef6ad5fa0d934ac427d.tar.gz
linhes_pkgbuild-b51150cb7b21d9040857fef6ad5fa0d934ac427d.tar.bz2
Loads game information into db for MythGame.
Diffstat (limited to 'abs')
-rw-r--r--abs/extra-testing/romdb/PKGBUILD17
-rw-r--r--abs/extra-testing/romdb/romdb.install16
2 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra-testing/romdb/PKGBUILD b/abs/extra-testing/romdb/PKGBUILD
new file mode 100644
index 0000000..ecb45c6
--- /dev/null
+++ b/abs/extra-testing/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=1
+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-testing/romdb/romdb.install b/abs/extra-testing/romdb/romdb.install
new file mode 100644
index 0000000..f2934c7
--- /dev/null
+++ b/abs/extra-testing/romdb/romdb.install
@@ -0,0 +1,16 @@
+# 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() {
+#}
+
+# arg 1: the old package version
+#post_remove() {
+#}
+
+op=$1
+shift
+$op $*