|
pkgbuild自己写的。替换图标资源,打了所有的9个补丁。
glurp-0.11.6.tar.gz可以到http://sourceforge.net/projects/glurp/下载。
发上来,当个备份。
- # Contributor: lh <jarryson@gmail.com>
- pkgname=glurp
- pkgver=0.11.6
- pkgrel=2
- pkgdesc="Another gtk2+ client for MPD and a theme"
- arch=(i686)
- url="http://sourceforge.net/projects/glurp/"
- license=('GPL')
- groups=()
- depends=()
- makedepends=()
- provides=()
- conflicts=()
- replaces=()
- backup=()
- options=()
- install=
- source=($pkgname-$pkgver.tar.gz \
- pixmaps.tar.gz \
- patch.tar.gz \
- glurp.desktop \
- glurp.png)
- noextract=()
- md5sums=(17d1c780fe006b51886d774e387d0269 \
- 45f802346c18d62f161ed1ce4c227f0c \
- f9858226f8a48aa960fcaabc99230519 \
- dc52bd120979b795de093f5914f61574 \
- 2b4db190f9e21c282d17a3dad4a37954)
- build() {
- cd "$startdir/src/$pkgname-$pkgver"
- patch -Np1 -i ../01-glurp-multiple-selection-drag-drop.patch || return 1
- patch -Np1 -i ../02-glurp-window-raise.patch || return 1
- patch -Np1 -i ../03-glurp-progressbar-seek-keyboard.patch || return 1
- patch -Np1 -i ../04-glurp-reselect-after-db-update.patch || return 1
- patch -Np1 -i ../05-glurp-mainwin-addwin-switch.patch || return 1
- patch -Np1 -i ../06-glurp-playlist-display-song-length.patch || return 1
- patch -Np1 -i ../07-glurp-addwin-crash-on-update-search-results.patch || return 1
- patch -Np1 -i ../08-glurp-playlist-unhilight-after-move.patch || return 1
- patch -Np1 -i ../09-glurp-keyboard-seek-modifier-pressed-fix.patch || return 1
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR="$startdir/pkg" install
- cd "$startdir"
- install -D -m644 glurp.png $startdir/pkg/usr/share/pixmaps/glurp.png
- install -D -m644 glurp.desktop $startdir/pkg/usr/share/applications/glurp.desktop
- tar --directory=$startdir/pkg/usr/share/glurp/pixmaps -zxf pixmaps.tar.gz
- }
- # vim:set ts=2 sw=2 et:
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|