Skip to content

@Silberbogen /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
heirloom-pkgtools-cvs PKGBUILD
# Contributor: Jens Staal <staal1978@gmail.com>
pkgname=heirloom-pkgtools-cvs
pkgver=111210
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="The Heirloom Packaging Tools is a port of SVR4 application packaging utilities from OpenSolaris"
url="http://heirloom.sourceforge.net/pkgtools.html"
license=('custom:"caldera"' 'custom:"opensolaris"')
depends=('heirloom-sh-cvs' 'heirloom-devtools-cvs' 'heirloom-cvs')
makedepends=('cvs')
source=('000-config.diff')
md5sums=('7ab977ec2bafe3b55fa9c56fe541e0d5')
_hmake() {
env PATH="/usr/heirloom/bin:$PATH" MAKEFLAGS="" make "$@"
}
build() {
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom login
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom co -P heirloom-pkgtools
cd $startdir/src/heirloom-pkgtools
patch -p1 < ../000-config.diff
_hmake
}
package() {
cd $startdir/src/heirloom-pkgtools
_hmake install ROOT=$startdir/pkg
mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}/
mkdir -p ${startdir}/pkg/usr/share/licenses/
install -m0644 ${startdir}/src/heirloom-pkgtools/LICENSE/CALDERA.LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/CALDERA.LICENSE
install -m0644 ${startdir}/src/heirloom-pkgtools/LICENSE/OPENSOLARIS.LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.