Skip to content

Commit

Permalink
Adopt autogen.sh, add Archlinux PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
triplem committed Feb 16, 2014
1 parent e42e0c8 commit 981e28f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Contributor: Markus M. May <triplem@javafreedom.org>

pkgname=upmpdcli
pkgver=0.5
pkgrel=1
pkgdesc="an UPnP front-end to the Music Player Daemon"
license="GPL"
builddepends=(autoconf)
arch=(i686 x86_64)

source=("https://github.com/medoc92/upmpdcli/archive/v0.5.tar.gz")
md5sums=('0e6623503f18eb7230aef8334084af4e')

backup=()
url="http://www.lesbonscomptes.com/upmpdcli/"


build() {

cd ${srcdir}/${pkgname}-${pkgver}

# this is temporary - should be fixed in the git repo
chmod u+x autogen.sh

msg "Run autogen.sh"
./autogen.sh

msg "Run configure"
./configure --prefix=/usr

msg "Run make"
make
}

package() {

msg "Make install"
cd ${srcdir}/${pkgname}-${pkgver}

msg "pkgdir: ${pkgdir}"
make DESTDIR="${pkgdir}/" install

}
# :mode=shellscript:
Empty file modified autogen.sh
100644 → 100755
Empty file.

0 comments on commit 981e28f

Please sign in to comment.