updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / minirok-git / PKGBUILD
blobc0a64bcdd5c7abded08c554df016f70c22b95b07
1 # Contributor: Your Name <your@mail.org>
3 pkgname=minirok-git
4 pkgver=20090913
5 pkgrel=1
6 pkgdesc="small media player"
7 url="http://chistera.yi.org/~adeodato/code/minirok/"
8 arch=('i686' 'x86_64')
9 license=('MIT')
10 depends=('pyqt' 'mutagen' 'gstreamer0.10-python' 'dbus-python' 'lastfmsubmitd')
11 makedepends=('git')
12 conflicts=('minirok')
13 provides=('minirok')
14 source=()
15 md5sums=()
17 _gitroot="git://git.debian.org/~adeodato/minirok"
18 _gitname="minirok"
20 build() {
21   cd ${srcdir}
22   msg "Connecting to git.debian.org GIT server...."
24   if [ -d ${srcdir}/$_gitname ] ; then
25   cd $_gitname && git pull origin
26   msg "The local files are updated."
27   else
28   git clone $_gitroot
29   fi
31   msg "GIT checkout done or server timeout"
32   msg "Starting make..."
34   git clone $_gitname $_gitname-build
35   cd ${srcdir}/$_gitname-build
37   DEBIAN_PREFIX=$startdir/pkg ./setup.sh install
38