{"id":1110,"date":"2014-02-23T15:38:38","date_gmt":"2014-02-23T07:38:38","guid":{"rendered":"http:\/\/www.hsyyf.me\/?p=1110"},"modified":"2014-02-23T15:38:38","modified_gmt":"2014-02-23T07:38:38","slug":"arch%e5%ae%89%e8%a3%85%e9%85%b7%e6%88%91%e9%9f%b3%e4%b9%90%e7%9b%92pkgbuild","status":"publish","type":"post","link":"https:\/\/www.hsyyf.me\/?p=1110","title":{"rendered":"arch\u5b89\u88c5\u9177\u6211\u97f3\u4e50\u76d2PKGBUILD"},"content":{"rendered":"<p>Archlinux\u7684aur\u91cc\u6709\u9177\u6211\u97f3\u4e50\u76d2\u4e86,\u4e0d\u8fc7\u5728\u6b63\u5e38\u60c5\u51b5\u4e0b\u7f16\u8bd1\u4f1a\u51fa\u73b0gi.repository\u6a21\u5757\u5bfc\u5165\u9519\u8bef\u7684\u60c5\u51b5,\u8fd9\u662f\u56e0\u4e3a\u7cfb\u7edf\u9ed8\u8ba4\u7684python\u662f2.x,\u800cgi.repository\u6a21\u5757\u662fpython3.x\u91cc\u7684,\u6539\u4e86\u4e00\u4e0bPKGBUILD.python\u7684\u7248\u672c\u662f3.3<\/p>\n<p>\u4fdd\u5b58\u6210PKGBUILD\u6587\u4ef6,makepkg PKGBUILD.<\/p>\n<p><code lang=\"text\"># PKGBUILD for kwplayer 2013-10-19<br \/>\n# Contributor: MJsaka <qiuxuenan@gmail.com><br \/>\n# Changed by:hsyyf <931107419@qq.com><br \/>\n# Copyright<br \/>\n# This PKGBUILD published with the GPLv3 license<\/p>\n<p>pkgname=kwplayer<br \/>\npkgver=3.2.8<br \/>\npkgrel=1<br \/>\npkgdesc='An elegant music player which can get songs from kuwo.cn'<br \/>\narch=('any')<br \/>\nlicense=('GPL3')<br \/>\nurl=\"https:\/\/github.com\/LiuLang\/kwplayer\"<br \/>\ndepends=('python>=3.3' 'python-dbus' 'python-gobject' 'gstreamer' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly' 'gnome-icon-theme-symbolic')<br \/>\noptdepends=('python-mutagenx: convert ID3 tag from GBK to UTF-8' 'leveldb: local cache database' 'plyvel: python3 binding of leveldb' 'python-xlib: X11 library for python' 'python-keybinder: to support global keyboard shortcuts')<br \/>\nsource=(\"https:\/\/pypi.python.org\/packages\/source\/k\/kwplayer\/${pkgname}-${pkgver}.tar.gz\")<br \/>\nmd5sums=('827fe45a8d2d5a05a57f99eaf04829e9')<\/p>\n<p>build() {<br \/>\n    cd \"${srcdir}\/${pkgname}-${pkgver}\"<br \/>\n    python3.3 setup.py build<br \/>\n}<\/p>\n<p>package() {<br \/>\n    cd \"${srcdir}\/${pkgname}-${pkgver}\"<br \/>\n    python3.3 setup.py install --root=\"$pkgdir\"<br \/>\n}<\/code><\/p>\n<p>\u6267\u884c:yaourt -U&nbsp;kwplayer-3.2.8-1-any.pkg.tar.xz\u5b89\u88c5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Archlinux\u7684aur\u91cc\u6709\u9177\u6211\u97f3\u4e50\u76d2\u4e86,\u4e0d\u8fc7\u5728\u6b63\u5e38\u60c5\u51b5\u4e0b\u7f16\u8bd1\u4f1a\u51fa\u73b0gi.repository\u6a21\u5757\u5bfc\u5165\u9519\u8bef\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[44,147,148],"class_list":["post-1110","post","type-post","status-publish","format-standard","hentry","category-3","tag-archlinux","tag-pkgbuild","tag-148"],"_links":{"self":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts\/1110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1110"}],"version-history":[{"count":0,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts\/1110\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}