LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 914|回复: 0

[PKGBUILD]glurp --小巧的gtk2+的mpd控制端。

[复制链接]
发表于 2007-8-16 17:16:30 | 显示全部楼层 |阅读模式
pkgbuild自己写的。替换图标资源,打了所有的9个补丁。

glurp-0.11.6.tar.gz可以到http://sourceforge.net/projects/glurp/下载。

发上来,当个备份。

  1. # Contributor: lh <jarryson@gmail.com>
  2. pkgname=glurp
  3. pkgver=0.11.6
  4. pkgrel=2
  5. pkgdesc="Another gtk2+ client for MPD and a theme"
  6. arch=(i686)
  7. url="http://sourceforge.net/projects/glurp/"
  8. license=('GPL')
  9. groups=()
  10. depends=()
  11. makedepends=()
  12. provides=()
  13. conflicts=()
  14. replaces=()
  15. backup=()
  16. options=()
  17. install=
  18. source=($pkgname-$pkgver.tar.gz \
  19.         pixmaps.tar.gz \
  20.         patch.tar.gz \
  21.         glurp.desktop \
  22.         glurp.png)
  23. noextract=()
  24. md5sums=(17d1c780fe006b51886d774e387d0269 \
  25.          45f802346c18d62f161ed1ce4c227f0c \
  26.          f9858226f8a48aa960fcaabc99230519 \
  27.          dc52bd120979b795de093f5914f61574 \
  28.          2b4db190f9e21c282d17a3dad4a37954)

  29. build() {
  30.   cd "$startdir/src/$pkgname-$pkgver"

  31.   patch -Np1 -i ../01-glurp-multiple-selection-drag-drop.patch || return 1
  32.   patch -Np1 -i ../02-glurp-window-raise.patch || return 1
  33.   patch -Np1 -i ../03-glurp-progressbar-seek-keyboard.patch || return 1
  34.   patch -Np1 -i ../04-glurp-reselect-after-db-update.patch || return 1
  35.   patch -Np1 -i ../05-glurp-mainwin-addwin-switch.patch || return 1
  36.   patch -Np1 -i ../06-glurp-playlist-display-song-length.patch || return 1
  37.   patch -Np1 -i ../07-glurp-addwin-crash-on-update-search-results.patch || return 1
  38.   patch -Np1 -i ../08-glurp-playlist-unhilight-after-move.patch || return 1
  39.   patch -Np1 -i ../09-glurp-keyboard-seek-modifier-pressed-fix.patch || return 1

  40.   ./configure --prefix=/usr
  41.   make || return 1
  42.   make DESTDIR="$startdir/pkg" install

  43.   cd "$startdir"
  44.   install -D -m644 glurp.png $startdir/pkg/usr/share/pixmaps/glurp.png
  45.   install -D -m644 glurp.desktop $startdir/pkg/usr/share/applications/glurp.desktop
  46.   tar --directory=$startdir/pkg/usr/share/glurp/pixmaps -zxf pixmaps.tar.gz
  47. }

  48. # vim:set ts=2 sw=2 et:

复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表