Package Details: apgdiff 2.4-2

Git Clone URL: https://aur.archlinux.org/apgdiff.git (read-only)
Package Base: apgdiff
Description: Another PostgreSQL Diff Tool for schema comparison and migration
Upstream URL: http://www.apgdiff.com/
Licenses: MIT
Submitter: intgr
Maintainer: intgr
Last Packager: intgr
Votes: 9
Popularity: 0.317216
First Submitted: 2011-02-18 09:47
Last Updated: 2015-06-08 09:04

Latest Comments

naspeh commented on 2015-04-02 09:00

Yep, sorry. I wanted to post diff of my file, but then decided to post the whole file :).

intgr commented on 2015-04-02 07:29

@naspeh Updated, thanks. You should just say what you want changed, rather than posting a huge wall of text and requiring me to figure out what's different in your version.

naspeh commented on 2015-04-01 21:33

Could you update PKGBUILD pleas like:
---
pkgname=apgdiff
pkgver=2.4
pkgrel=2
pkgdesc="Another PostgreSQL Diff Tool for schema comparison and migration"
url="http://www.apgdiff.com/"
depends=('java-runtime')
arch=('any')
license=('MIT')
source=(http://www.apgdiff.com/download/$pkgname-$pkgver-bin.zip)
md5sums=('4e4c248fd041b6e58cc5d1e2e3d9ce37')

package() {
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/$pkgname \
$pkgdir/usr/share/licenses/$pkgname

cd $srcdir/$pkgname-$pkgver
install -m644 $pkgname-$pkgver.jar $pkgdir/usr/share/$pkgname/$pkgname.jar
install -m644 license.txt $pkgdir/usr/share/licenses/$pkgname/

# Script to invoke apgdiff
echo "#!/bin/sh" > $pkgdir/usr/bin/$pkgname
echo "exec \$JAVA_HOME/bin/java -jar /usr/share/$pkgname/$pkgname.jar \$@" >> $pkgdir/usr/bin/$pkgname
chmod 755 $pkgdir/usr/bin/$pkgname
}
---
I fixed "depends" field also, because there is not needed jdk for running, jre is enough.

naspeh commented on 2015-04-01 21:31

Could you update PKGBUILD pleas like:
---
pkgname=apgdiff
pkgver=2.4
pkgrel=2
pkgdesc="Another PostgreSQL Diff Tool for schema comparison and migration"
url="http://www.apgdiff.com/"
depends=('java-runtime')
arch=('any')
license=('MIT')
source=(http://www.apgdiff.com/download/$pkgname-$pkgver-bin.zip)
md5sums=('4e4c248fd041b6e58cc5d1e2e3d9ce37')

package() {
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/$pkgname \
$pkgdir/usr/share/licenses/$pkgname

cd $srcdir/$pkgname-$pkgver
install -m644 $pkgname-$pkgver.jar $pkgdir/usr/share/$pkgname/$pkgname.jar
install -m644 license.txt $pkgdir/usr/share/licenses/$pkgname/

# Script to invoke apgdiff
echo "#!/bin/sh" > $pkgdir/usr/bin/$pkgname
echo "exec \$JAVA_HOME/bin/java -jar /usr/share/$pkgname/$pkgname.jar \$@" >> $pkgdir/usr/bin/$pkgname
chmod 755 $pkgdir/usr/bin/$pkgname
}
---
I fixed "depends" field also, because there is not needed jdk for running, jre is enough.

intgr commented on 2015-02-25 12:30

@fzerorubigd What's a PKGBUILD role? I can't find anything useful on Google.

fzerorubigd commented on 2015-02-20 16:06

Please update this to use new PKGBUILD roles.

captaincrisp commented on 2015-01-29 14:55

Renaming the build() function to package() makes it work for me.

captaincrisp commented on 2015-01-29 14:52

Package fails to build on makepkg 4.2.0:

==> ERROR: Missing package() function in /home/jeff/apgdiff/PKGBUILD

intgr commented on 2013-03-01 16:15

Package updated (apgdiff.startnet.biz -> apgdiff.com)

intgr commented on 2012-09-26 08:05

Updated to 2.4