SHARE
TWEET

sc2mpd archlinux pkgbuild

a guest Mar 20th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer:
  2.  
  3. pkgname=sc2mpd
  4. pkgver=1.1.5
  5. pkgrel=1
  6. pkgdesc="Songcast to MPD via upmpdcli"
  7. arch=('i686' 'x86_64' 'armv7h' 'armv6h')
  8. url="http://www.lesbonscomptes.com/sc2mpd/"
  9. license=('GPL2')
  10. depends=( 'python2' 'libsamplerate' 'libmicrohttpd')
  11. makedepends=('mpd' 'upmpdcli' 'libsamplerate' 'alsa-lib' 'mono')
  12.  
  13. #source=("https://www.lesbonscomptes.com/upmpdcli/downloads/$pkgname-$pkgver.tar.gz")
  14. source=("$pkgname-$pkgver::git+https://skunark@opensourceprojects.eu/git/p/sc2mpd/code")
  15. sha256sums=('SKIP')
  16.  
  17. build() {
  18.   mkdir -p $srcdir/bin
  19.   ln -sf /usr/bin/python2 $srcdir/bin/python
  20.   ln -sf /usr/bin/python2-config $srcdir/bin/python-config
  21.   export PATH=$srcdir/bin:$PATH
  22.   mkdir -p $srcdir/openhome
  23.   cd $srcdir/$pkgname-$pkgver
  24.   sh ./ohbuild.sh -b $srcdir/openhome
  25.  
  26.   ./autogen.sh
  27.   ./configure --sysconfdir=/etc --prefix=/usr --with-openhome=$srcdir/openhome
  28. #  make
  29. }
  30.  
  31. package() {
  32.   cd "$srcdir/$pkgname-$pkgver"
  33.   make DESTDIR="$pkgdir" install
  34.  
  35.  
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top