Skip to content

@Silberbogen /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
# Maintainer: Jens Staal <staal1978@gmail.com>
pkgname=sbase-hg
pkgver=20110624
pkgrel=1
pkgdesc="A suckless variant of the *nix core utilities"
arch=('i686' 'x86_64')
license=('MIT')
url="http://hg.suckless.org/sbase/"
makedepends=('mercurial')
build() {
cd $srcdir
# Update the repo, else clone a new one
if [ -d sbase ]; then
cd sbase
hg pull -u
cd $srcdir
else
hg clone http://hg.suckless.org/sbase
fi
rm -rf $srcdir/build # start fresh
cp -ar $srcdir/sbase $srcdir/build
}
package() {
cd $srcdir/build/
make DESTDIR=$pkgdir PREFIX=/opt install
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
install -m644 $srcdir/build/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
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.