summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing')
-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 $*