diff options
Diffstat (limited to 'abs/extra/romdb')
-rw-r--r-- | abs/extra/romdb/PKGBUILD | 17 | ||||
-rw-r--r-- | abs/extra/romdb/romdb.install | 18 |
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 $* |