Initial import

This commit is contained in:
Douglas McFadzean 2015-06-08 12:13:10 +01:00
commit a391860e87
3 changed files with 46 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = portabase-bin
pkgdesc = PortaBase manages one-table database files (binary from Debian package)
pkgver = 2.1
pkgrel = 1
url = http://portabase.sourceforge.net
install = portabase-bin.install
arch = i686
arch = x86_64
license = GPL2
depends = qt4
source = http://sourceforge.net/projects/portabase/files/portabase/2.1/portabase_2.1-1_i386.deb/download
md5sums = 2d4d3ce12506a155b44bd46c75e9e15c
pkgname = portabase-bin

19
PKGBUILD Normal file
View file

@ -0,0 +1,19 @@
# Maintainer: ninian <mcfadzean.org.uk ta linux>
pkgname=portabase-bin
_pkgname=${pkgname%-bin}
pkgver=2.1
pkgrel=1
pkgdesc="PortaBase manages one-table database files (binary from Debian package)"
arch=('i686' 'x86_64')
url="http://portabase.sourceforge.net"
license=('GPL2')
depends=('qt4')
install="$pkgname.install"
source=(http://sourceforge.net/projects/portabase/files/portabase/${pkgver}/${_pkgname}_${pkgver}-1_i386.deb/download)
md5sums=('2d4d3ce12506a155b44bd46c75e9e15c')
package() {
cd "$srcdir"
ar x download
tar xzf data.tar.gz -C "$pkgdir/"
}

12
portabase-bin.install Normal file
View file

@ -0,0 +1,12 @@
post_install() {
update-mime-database /usr/share/mime >/dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}