From b51150cb7b21d9040857fef6ad5fa0d934ac427d Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Tue, 3 Feb 2009 22:47:22 -0800
Subject: Loads game information into db for MythGame.

---
 abs/extra-testing/romdb/PKGBUILD      | 17 +++++++++++++++++
 abs/extra-testing/romdb/romdb.install | 16 ++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 abs/extra-testing/romdb/PKGBUILD
 create mode 100644 abs/extra-testing/romdb/romdb.install

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 $*
-- 
cgit v0.12