# Maintainer: Ben Fox-Moore pkgname=livestreamer-twitch-gui pkgver=v0.9.1 pkgrel=1 pkgdesc="A multi platform Twitch.tv browser for Livestreamer" arch=("i686" "x86_64") url="https://github.com/bastimeyer/livestreamer-twitch-gui" license=("MIT") depends=("livestreamer" "libnotify" "gconf") provides=("livestreamer-twitch-gui") options=(!strip) install=$pkgname.install #source=("add-menuitem-absolute-icons.patch") source_i686=("https://github.com/bastimeyer/livestreamer-twitch-gui/releases/download/$pkgver/livestreamer-twitch-gui-$pkgver-linux32.tar.gz") source_x86_64=("https://github.com/bastimeyer/livestreamer-twitch-gui/releases/download/$pkgver/livestreamer-twitch-gui-$pkgver-linux64.tar.gz") md5sums_i686=('452f0b3e005cecd27a5fa1f88974cd13') md5sums_x86_64=('58bc587b0ffcb2109b644bb192f3f25f') package() { cd "$srcdir/$pkgname" install -d "$pkgdir/opt/$pkgname" install -d "$pkgdir/usr/bin/" sed -i "s:Exec=\$HERE/start.sh:Exec=/usr/bin/$pkgname:g" add-menuitem.sh cp -R * "$pkgdir/opt/$pkgname" ln -s "/opt/$pkgname/start.sh" "$pkgdir/usr/bin/$pkgname" ln -s "/usr/lib/libudev.so" "$pkgdir/opt/$pkgname/libudev.so.0" }