SHARE
TWEET

Untitled

a guest May 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: ThecaTTony <thecattony at gmx dot com>
  2. # Contributor: Santiago Bruno <bananabruno at gmail dot com>
  3.  
  4. pkgname=mtvcgui
  5. pkgver=1.0.2
  6. pkgrel=1
  7. epoch=1
  8. pkgdesc="Mencoder TV Capture GUI"
  9. arch=('any')
  10. url="http://www.santiagobruno.com.ar/programas.html#mtvcgui"
  11. license=('GPL2')
  12. depends=('hicolor-icon-theme' 'mencoder' 'mplayer' 'python2-pyqt4' 'python2-sip-pyqt4')
  13. source=( https://github.com/sbruno/mtvcgui/archive/$pkgver.tar.gz )
  14. md5sums=('f437f66fa1bb11889714af5cab3b83cf')
  15.  
  16. package() {
  17.   cd "${srcdir}"/"${pkgname}"-"${pkgver}"/src
  18.  
  19.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/16x16/apps
  20.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/22x22/apps
  21.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/32x32/apps
  22.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/48x48/apps
  23.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/64x64/apps
  24.   mkdir -p "${pkgdir}"/usr/share/icons/hicolor/128x128/apps
  25.  
  26.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/16x16/"${pkgname}".png \
  27.         "${pkgdir}"/usr/share/icons/hicolor/16x16/apps/"${pkgname}".png
  28.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/22x22/"${pkgname}".png \
  29.         "${pkgdir}"/usr/share/icons/hicolor/22x22/apps/"${pkgname}".png
  30.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/32x32/"${pkgname}".png \
  31.         "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/"${pkgname}".png
  32.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/48x48/"${pkgname}".png \
  33.         "${pkgdir}"/usr/share/icons/hicolor/48x48/apps/"${pkgname}".png
  34.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/64x64/"${pkgname}".png \
  35.         "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/"${pkgname}".png
  36.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/128x128/"${pkgname}".png \
  37.         "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/"${pkgname}".png
  38.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/128x128/"${pkgname}".png \
  39.         "${pkgdir}"/usr/share/pixmaps/"${pkgname}".png
  40.   install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/src/ui/icons/"${pkgname}".svg \
  41.         "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/"${pkgname}".svg
  42.   install -D "${pkgname}".desktop "${pkgdir}"/usr/share/applications/"${pkgname}".desktop
  43.   install -d "${pkgdir}"/opt/"${pkgname}"
  44.   cp -r * "${pkgdir}"/opt/"${pkgname}"
  45.   install -d "${pkgdir}"/usr/bin/
  46.   ln -s "/opt/"${pkgname}"/run.py" "${pkgdir}"/usr/bin/"${pkgname}"
  47. }
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