Commit 51064a19 authored by Marti Raudsepp's avatar Marti Raudsepp
Browse files

dbmeasure-git: initial package (git date 20100512)

parents
pkgbase = dbmeasure-git
pkgdesc = ALSA volume control verification/measurement tool
pkgver = 20100512
pkgrel = 1
url = http://git.0pointer.de/?p=dbmeasure.git;a=summary
arch = i686
arch = x86_64
license = LGPL
makedepends = git
depends = alsa-lib
pkgname = dbmeasure-git
# Maintainer: Marti Raudsepp <marti@juffo.org>
pkgname=dbmeasure-git
pkgver=20100512
pkgrel=1
pkgdesc="ALSA volume control verification/measurement tool"
arch=(i686 x86_64)
url="http://git.0pointer.de/?p=dbmeasure.git;a=summary"
license=('LGPL')
depends=('alsa-lib')
makedepends=('git')
_gitroot="git://git.0pointer.de/dbmeasure.git"
_gitname="dbmeasure"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make || return 1
#make DESTDIR=$pkgdir install || return 1
mkdir -p $pkgdir/usr/bin
cp dbmeasure dbverify $pkgdir/usr/bin/ || return 1
mkdir -p $pkgdir/usr/share/doc/$pkgname
cp README $pkgdir/usr/share/doc/$pkgname/ || return 1
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment