Guest User

vlc-srpos-plugin 0.3 PKGBUILD

a guest
Feb 23rd, 2014
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.89 KB | None | 0 0
  1. pkgname=vlc-srpos-plugin
  2. pkgver=0.3
  3. pkgrel=1
  4. pkgdesc="This plugin allows you to automatically save and restore the position of the last 100 played files in the VLC player."
  5. arch=('i686' 'x86_64')
  6. url="http://vlcsrposplugin.sourceforge.net/"
  7. license=("LGPL")
  8. depends=("vlc>=2.1.0")
  9. source=("http://downloads.sourceforge.net/project/vlcsrposplugin/libsrpos_plugin-${pkgver}.tar.gz")
  10. sha256sums=('70c3edf8cf0d653dd37aca3f6f6074096e09cdce200ab7c2a3481911ee095383')
  11.  
  12. # You can configure the number of video clips the plugin will remember (default is 100):
  13. _max_items_remembered=100
  14.  
  15. prepare() {
  16.     sed -i "s/int n_max_items = 100;/int n_max_items = ${_max_items_remembered};/" "${srcdir}/libsrpos_plugin-${pkgver}/srpos.c"
  17. }
  18.  
  19. build() {
  20.   cd "${srcdir}/libsrpos_plugin-${pkgver}"
  21.   ./configure
  22.   make
  23. }
  24.  
  25. package() {
  26.   cd "${srcdir}/libsrpos_plugin-${pkgver}"
  27.   make DESTDIR="${pkgdir}" install
  28. }
Advertisement
Add Comment
Please, Sign In to add comment