diff --git a/deepin-gsettings/PKGBUILD b/deepin-gsettings/PKGBUILD deleted file mode 100644 index 5910819..0000000 --- a/deepin-gsettings/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-gsettings -pkgver=git20130318115600 -pkgrel=1 -pkgdesc='deepin gsettings python bindings' -arch=('i686' 'x86_64') -depends=('python2' 'python2-distribute') -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/deepin-gsettings_0.1+${pkgver}.tar.gz") -md5sums=('173b4361954348944773a5faa8027f22') - -build(){ - cd "$srcdir"/${pkgname}-0.1+${pkgver} - python2 setup.py build -} -package() { - cd "$srcdir"/${pkgname}-0.1+${pkgver} - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - - diff --git a/deepin-media-player/PKGBUILD b/deepin-media-player/PKGBUILD deleted file mode 100644 index 3e5251b..0000000 --- a/deepin-media-player/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-media-player -pkgver=git20130617155251~67e5b148ac -pkgrel=1 -pkgdesc='New multimedia player with brilliant and tweakful UI. PyGtk and Deepin-ui Mplayer2 front-end, with features likes smplayer, but has a brilliant and tweakful UI.' -depends=('python2-scipy' 'python2-pyquery' 'deepin-ui' 'mplayer2' 'gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins' 'python2-formencode' 'gstreamer0.10-python' 'python2-chardet' 'python2-beautifulsoup3') -arch=('any') -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-media-player/deepin-media-player_1+${pkgver}_all.deb") -md5sums=('b4bdb261d2865fb52d850a585601f82c') - -package() { - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - - cd ${pkgdir}/usr/share/deepin-media-player/src/ - sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py - sed -i 's_#! /usr/bin/python$_#! /usr/bin/python2_' *.py -} - - diff --git a/deepin-music-player/PKGBUILD b/deepin-music-player/PKGBUILD deleted file mode 100644 index 1d703fc..0000000 --- a/deepin-music-player/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-music-player -pkgver=git20130614104136~86b4f5bc3f -pkgrel=1 -pkgdesc='Awesome music player with brilliant and tweakful UI Deepin-UI based, gstreamer front-end, with features likes search music by pinyin,quanpin, colorful lyrics supports, and more powerfull functions you will found.' -depends=('gstreamer0.10-python' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-ugly-plugins' 'mutagen' 'python2-chardet' 'python2-scipy' 'python2-pyquery' 'python2-cssselect' 'deepin-ui' 'python2-dbus' 'sonata' 'cddb-py' 'python2-pycurl' 'python-xlib' 'python2-keybinder2') -arch=('any') -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-music-player/deepin-music-player_1+${pkgver}_all.deb" ) -md5sums=('0b3ef416f025e5d55038702b7c20cc09') - -package() { - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - - cd ${pkgdir}/usr/share/deepin-music-player/src/ - sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py - sed -i 's_#! /usr/bin/python$_#! /usr/bin/python2_' *.py - - cd ${pkgdir}/usr/share/deepin-music-player/tools - python2 generate_mo.py -} - - diff --git a/deepin-screenshot/PKGBUILD b/deepin-screenshot/PKGBUILD deleted file mode 100644 index 2679c2b..0000000 --- a/deepin-screenshot/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-screenshot -pkgver=git20130618155753~8c1ba38453 -pkgrel=1 -pkgdesc="Provide a quite easy-to-use screenshot tool. Features:Global hotkey to triggle screenshot tool,Take screenshot of a selected area,Easy to add text and line drawings onto the screenshot" -depends=('python2' 'gconf' 'python2-xlib' 'deepin-ui' 'python2-wnck' 'python2-xdg') -arch=('any') -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-screenshot/deepin-screenshot_2.0+${pkgver}_all.deb") -md5sums=('58e3dca3f0446ab8a14c62cfcd839fdc') - -package() { - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - - cd ${pkgdir}/usr/share/deepin-screenshot/src/ - sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py - sed -i 's_#! /usr/bin/python$_#! /usr/bin/python2_' *.py -} - - diff --git a/deepin-ui/PKGBUILD b/deepin-ui/PKGBUILD deleted file mode 100644 index d12a99d..0000000 --- a/deepin-ui/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-ui -pkgver=git20130618094833~90b6485f6c -pkgrel=1 -pkgdesc='UI toolkit for Linux Deepin' -arch=('i686' 'x86_64') -depends=('python2-distribute' 'python2' 'glib2' 'pygtk' 'python2-cairo' 'python2-imaging' 'libwebkit' 'python-xlib' 'pywebkitgtk' 'libsoup' 'deepin-utils' 'deepin-gsettings') - -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-ui/deepin-ui_1+${pkgver}.tar.gz") -md5sums=('5177b66c40a4625db9c24167b6a35035') - -build(){ - cd "$srcdir"/${pkgname}-1+${pkgver} - python2 setup.py build -} - -package() { - mkdir -p "$pkgdir"/usr/share/locale - mkdir -p "$pkgdir"/usr/lib/python2.7/site-packages/dtk/theme - cd "$srcdir"/${pkgname}-1+${pkgver} - python2 setup.py install --root="$pkgdir/" --optimize=1 - mv "$pkgdir"/usr/dtk/locale "$pkgdir"/usr/share/ - mv "$pkgdir"/usr/dtk/theme "$pkgdir"/usr/lib/python2.7/site-packages/dtk/ - rm -rf "$pkgdir"/usr/dtk/ - - cd ${pkgdir}/usr/lib/python2.7/site-packages/dtk/ui - sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py -} - - diff --git a/deepin-utils/PKGBUILD b/deepin-utils/PKGBUILD deleted file mode 100644 index 74a3cb8..0000000 --- a/deepin-utils/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=deepin-utils -pkgver=git20130614161635~bb54a9bbf5 -pkgrel=1 -pkgdesc='Utils of DeepinUI Toolkit modules' -arch=('i686' 'x86_64') -depends=('python2' 'pygtk' 'python2-cairo' 'python2-imaging' 'libwebkit' 'python-xlib' 'pywebkitgtk') -url="http://www.linuxdeepin.com/" -license=('GPL-3') -source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-utils/deepin-utils_0.0.1-1+${pkgver}.tar.gz") -md5sums=('b75612f61973b2338d878d211867157a') - -build(){ - cd "$srcdir"/${pkgname}-0.0.1 - python2 setup.py build -} -package() { - cd "$srcdir"/${pkgname}-0.0.1 - python2 setup.py install --root="$pkgdir/" --optimize=1 - - cd ${pkgdir}/usr/lib/python2.7/site-packages/deepin_utils/ - sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py -} - - diff --git a/fcitx-skin-sogou/PKGBUILD b/fcitx-skin-sogou/PKGBUILD deleted file mode 100644 index b028fb4..0000000 --- a/fcitx-skin-sogou/PKGBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=fcitx-skin-sogou -pkgver=0.0.3 -pkgrel=1 -pkgdesc="Fcitx skin for for Sogou Pinyin,thinks to sougou" -arch=('i686' 'x86_64') -url="http://code.google.com/p/fcitx" -license=('custom') -depends=('fcitx>=4.2.6') -source=("http://packages.linuxdeepin.com/deepin/pool/main/f/fcitx-skins/fcitx-skin-sogou_${pkgver}_all.deb") -md5sums=('24a936752eedce4b7433de4a061ecb78') - -build(){ - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - rm -rf ${pkgdir}/usr/share/doc -} - - diff --git a/fcitx-sogoupinyin/PKGBUILD b/fcitx-sogoupinyin/PKGBUILD deleted file mode 100644 index 952d003..0000000 --- a/fcitx-sogoupinyin/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Jove Yu -# Contributor: csslayer -pkgname=fcitx-sogoupinyin -pkgver=0.0.1 -pkgrel=1 -pkgdesc="Fcitx wrapper for Sogou Pinyin,thinks to Sougou" -arch=('i686' 'x86_64') -url="http://code.google.com/p/fcitx" -license=('custom') -depends=('fcitx>=4.2.6' ) -optdepends=('fcitx-skin-sogou: fcitx skin for SogouPinyin') -makedepends=('cmake' 'intltool') -source=("http://ubuntu-ppa.archlinuxcn.org/fcitx-team/nightly/ubuntu/pool/main/f/fcitx-sogoupinyin-release/fcitx-sogoupinyin-release_${pkgver}.orig.tar.gz") -#官方ppa源 -#source=("http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/pool/main/f/fcitx-sogoupinyin-release/fcitx-sogoupinyin-release_${pkgver}.orig.tar.gz") - -if [ "${CARCH}" = "i686" ]; then - _TAR_FILE=data.i386.tar.xz - _LIB_DIR=i386-linux-gnu -else - _TAR_FILE=data.amd64.tar.xz - _LIB_DIR=x86_64-linux-gnu -fi - -package(){ - cd fcitx-sogoupinyin-release-${pkgver}/arch - pwd - tar -xvf "${_TAR_FILE}" -C "${pkgdir}" - cd "${pkgdir}" - - mv "usr/lib/${_LIB_DIR}/"* usr/lib - rmdir "usr/lib/${_LIB_DIR}" -} - -md5sums=('36ef6dff6446d936cb887dba0b24bb22') diff --git a/indicator-china-weather/PKGBUILD b/indicator-china-weather/PKGBUILD deleted file mode 100644 index d0bc726..0000000 --- a/indicator-china-weather/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: Jove Yu < yushijun110[AT]gmail.com > - -pkgname=indicator-china-weather -pkgver=1.0.5 -pkgrel=1 -pkgdesc="indicator-china-weather" -arch=('i686' 'x86_64') -url="https://launchpad.net/~ubuntukylin-members/+archive/ubuntukylin" -license=('GPL') -groups=('unity-extra') -depends=( 'libappindicator' 'python2' 'python2-dbus' 'python2-gobject' 'pygtk' 'python2-gconf' 'gsettings-desktop-schemas') -makedepends=('python2-distutils-extra') -install=indicator-china-weather.install -source=("https://launchpad.net/~ubuntukylin-members/+archive/ubuntukylin/+files/indicator-china-weather_1.0.5-0~58~raring1_amd64.deb") -md5sums=('f56cfe2ab5bc3b250e3f12349625bcfd') - -package() { - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - cd ${pkgdir}/usr/bin/ - sed -i 's/python/python2/g' indicator-china-weather - cd ${pkgdir}/usr/share/indicator-china-weather/src - sed -i 's_#!/usr/bin/python$_#!/usr/bin/python2_' *.py -} - diff --git a/indicator-china-weather/indicator-china-weather.install b/indicator-china-weather/indicator-china-weather.install deleted file mode 100644 index 5037225..0000000 --- a/indicator-china-weather/indicator-china-weather.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { -echo "Installing indicator-specific icons..." -xdg-icon-resource install --theme hicolor --novendor --size 22 /usr/share/indicator-china-weather/data/media/icon_china_weather.png weather-indicator -xdg-icon-resource install --theme hicolor --novendor --size 22 /usr/share/indicator-china-weather/data/media/icon_unknown_condition.png weather-indicator-unknown -xdg-icon-resource install --theme hicolor --novendor --size 22 /usr/share/indicator-china-weather/data/media/icon_connection_error.png weather-indicator-error -glib-compile-schemas /usr/share/glib-2.0/schemas -} - -post_upgrade() { - post_install -} - - diff --git a/indicator-multiload/PKGBUILD b/indicator-multiload/PKGBUILD deleted file mode 100644 index 8fbd4d0..0000000 --- a/indicator-multiload/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Jove Yu < yushijun110[AT]gmail.com > - -pkgname=indicator-multiload -pkgver=0.3 -pkgrel=1 -pkgdesc="Graphical system load indicator for CPU, ram, etc." -arch=('i686' 'x86_64') -url="https://launchpad.net/indicator-multiload" -license=('GPL') -groups=('unity-extra') -depends=( 'libappindicator' 'python2' 'python2-dbus' 'python2-gobject' 'pygtk' 'python2-gconf' 'gsettings-desktop-schemas') -makedepends=('python2-distutils-extra') -install=indicator-multiload.install -source=("https://launchpad.net/~indicator-multiload/+archive/stable-daily/+files/indicator-multiload_0.3-0+81~15~20~raring1.tar.gz") -md5sums=('38990c0f979dd684203c7a743216f42a') - -package() { - cd ${srcdir}/reci* - ./autogen.sh - ./configure --prefix=/usr - make DESTDIR=$pkgdir install -} - diff --git a/indicator-multiload/indicator-multiload.install b/indicator-multiload/indicator-multiload.install deleted file mode 100644 index aefa9e9..0000000 --- a/indicator-multiload/indicator-multiload.install +++ /dev/null @@ -1,9 +0,0 @@ -post_install() { -glib-compile-schemas /usr/share/glib-2.0/schemas -} - -post_upgrade() { - post_install -} - - diff --git a/kingsoft-office/PKGBUILD b/kingsoft-office/PKGBUILD deleted file mode 100644 index c4afc03..0000000 --- a/kingsoft-office/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -#Maintainer: Jove Yu - -pkgname=kingsoft-office -_pkgname=kingsoft-office -pkgver=9.1.0.4032_Alpha10 -_pkgver=9.1.0.4032~a10_i386 -pkgrel=3 -pkgdesc="Kingsoft Office (WPS Office), is an office productivity suite." -arch=('i686' 'x86_64') -license=("Custom") -url="http://www.wps.cn/" -conflicts=('wps-office') -install=${_pkgname}.install -PKGEXT=".pkg.tar" -source=("http://wdl.cache.ijinshan.com/wps/download/Linux/unstable/${_pkgname}_${_pkgver}.deb") -sha1sums=('6744c142eaea4af06e8f7d0e0cdd6c25c973ffbb') - -if [ "$CARCH" = "i686" ]; then - depends=('fontconfig' 'glib2' 'libpng12' 'libsm' 'libxext' 'libxdmcp' 'libxrender' 'libcups' 'glu' 'libgl') -elif [ "$CARCH" = "x86_64" ]; then - depends=('lib32-fontconfig' 'lib32-glib2' 'lib32-libpng12' 'lib32-libsm' 'lib32-libxext' 'lib32-libxdmcp' 'lib32-libxrender' 'lib32-libcups' 'lib32-glu' 'lib32-libgl') -fi -depends+=('desktop-file-utils' 'shared-mime-info' 'xdg-utils') - -package() -{ - cd "${srcdir}" - tar aJxvf data.tar.lzma -C "${pkgdir}" - - ##去掉方正字体 - #rm -r "${pkgdir}/usr/share/fonts/" -} diff --git a/kingsoft-office/kingsoft-office.install b/kingsoft-office/kingsoft-office.install deleted file mode 100644 index 8cacd83..0000000 --- a/kingsoft-office/kingsoft-office.install +++ /dev/null @@ -1,323 +0,0 @@ -#!/bin/bash - -export XDG_DATA_HOME=${XDG_DATA_HOME:-/usr/share/} -ksv_xdg_dirs="/usr/share/:$XDG_DATA_DIRS" -ksv_xdg_dir= -ksv_def_icon_theme=icons/hicolor - -ksv_wps_mimes=('application-wps-office.wps' 'wps-office-wps.png' 'application-wps-office.wpt' 'wps-office-wpt.png') -ksv_word_mimes=('application-wps-office.doc' 'wps-office-doc.png' 'application-wps-office.dot' 'wps-office-dot.png' 'application-vnd.ms-word' 'wps-office-doc.png' 'application-msword' 'wps-office-doc.png' 'application-msword-template' 'wps-office-dot.png' 'application-wps-office.docx' 'wps-office-doc.png' 'application-wps-office.dotx' 'wps-office-dot.png' ) -ksv_et_mimes=('application-wps-office.et' 'wps-office-et.png' 'application-wps-office.ett' 'wps-office-ett.png') -ksv_excel_mimes=('application-wps-office.xls' 'wps-office-xls.png' 'application-wps-office.xlt' 'wps-office-xlt.png' 'application-vnd.ms-excel' 'wps-office-xls.png' 'application-msexcel' 'wps-office-xls.png' 'application-wps-office.xlsx' 'wps-office-xls.png' 'application-wps-office.xltx' 'wps-office-xlt.png' ) -ksv_wpp_mimes=('application-wps-office.dps' 'wps-office-dps.png' 'application-wps-office.dpt' 'wps-office-dpt.png') -ksv_ppt_mimes=('application-wps-office.ppt' 'wps-office-ppt.png' 'application-wps-office.pot' 'wps-office-pot.png' 'application-vnd.ms-powerpoint' 'wps-office-ppt.png' 'application-vnd.mspowerpoint' 'wps-office-ppt.png' 'application-powerpoint' 'wps-office-ppt.png' 'application-wps-office.pptx' 'wps-office-ppt.png' 'application-wps-office.potx' 'wps-office-pot.png' ) - - -function whisperer(){ - echo "-----------------------------------------------------------------------" - echo "For more info and more troubleshooting visit:" - echo "Chinese: http://linux.wps.cn/" - echo "English: http://wps-community.org/" - echo "-----------------------------------------------------------------------" - echo "" - echo "-----------------------------------------------------------------------" - echo "Kingsoft Office (WPS Office), is an office productivity suite." - echo "" - echo "Kingsoft Office (also named WPS Office) including Writer, Presentation" - echo "and Spreadsheets, is a powerful office suite, which is able to process" - echo "word file, produce wonderful slides, and analyze data as well. It is" - echo "deeply compatible with all of the latest Microsoft Office file formats. " - echo "It can easily open and read the documents created with Microsoft Office." - echo "" - echo "This is the Linux version, and it's now an ALPHA package." - echo "-----------------------------------------------------------------------" -} - -function ks_install_icon() -{ - local context=$1 - shift - local mode=$1 - shift - - local png= - local mime= - local nextIsPng=0 - for item in $@ - do - if [ "" = "${item}" ] ; then - continue - fi - if [ ${nextIsPng} -eq 1 ] ; then - png=${item} - for i in 16 22 32 48 64 128 256; do - if [ -e "${ksv_xdg_dir}/${ksv_def_icon_theme}/${i}x${i}/${context}/${png}" ] ; then - xdg-icon-resource install --noupdate --mode ${mode} --context ${context} --size ${i} "${ksv_xdg_dir}/${ksv_def_icon_theme}/${i}x${i}/${context}/${png}" ${mime} - fi - done - nextIsPng=0 - else - mime=${item} - nextIsPng=1 - fi - done -} - - - -function ks_config_default_mime_open() -{ - local desktop=$1 - shift - - local png= - local mime= - local nextIsPng=0 - for item in $@ - do - if [ "" = "${item}" ] ; then - continue - fi - if [ ${nextIsPng} -eq 1 ] ; then - png=${item} - nextIsPng=0 - else - mime=${item/application-/application/} - xdg-mime default ${desktop} ${mime} - nextIsPng=1 - fi - done -} - -function ks_init() -{ - set -e - for i in `echo "${ksv_xdg_dirs}" | sed 's/:/ /g'` - do - if [ -w ${i}/${ksv_def_icon_theme} ] ; then - ksv_xdg_dir="${i}" - fi - done -} - - -function ks_config_menu() -{ - if [ -f "${ksv_xdg_dir}/applications/wps-office-et.desktop" ] ; then - xdg-mime install --novendor --mode system "${ksv_xdg_dir}/mime/packages/wps-office-et.xml" - - xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/applications/wps-office-et.desktop" - #xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-et.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_install_icon "mimetypes" "system" "${ksv_et_mimes[*]}" "${ksv_excel_mimes[*]}" - xdg-icon-resource forceupdate --mode system - - ks_config_default_mime_open "${ksv_xdg_dir}/applications/wps-office-et.desktop" "${ksv_et_mimes[*]}" "${ksv_excel_mimes[*]}" - fi - - if [ -f "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" ] ; then - xdg-mime install --novendor --mode system "${ksv_xdg_dir}/mime/packages/wps-office-wpp.xml" - - xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" - #xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_install_icon "mimetypes" "system" "${ksv_wpp_mimes[*]}" "${ksv_ppt_mimes[*]}" - xdg-icon-resource forceupdate --mode system - - ks_config_default_mime_open "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" "${ksv_wpp_mimes[*]}" "${ksv_ppt_mimes[*]}" - fi - - if [ -f "${ksv_xdg_dir}/applications/wps-office-wps.desktop" ] ; then - xdg-mime install --novendor --mode system "${ksv_xdg_dir}/mime/packages/wps-office-wps.xml" - - xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/applications/wps-office-wps.desktop" - #xdg-desktop-menu install --noupdate --novendor --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-wps.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_install_icon "mimetypes" "system" "${ksv_wps_mimes[*]}" "${ksv_word_mimes[*]}" - xdg-icon-resource forceupdate --mode system - - ks_config_default_mime_open "${ksv_xdg_dir}/applications/wps-office-wps.desktop" "${ksv_wps_mimes[*]}" "${ksv_word_mimes[*]}" - fi -} - - -function ks_config_fonts() -{ - if [ -d /usr/share/fonts/wps-office ] ; then - cd /usr/share/fonts/wps-office - mkfontscale - mkfontdir - fc-cache -f - fi -} - -function ks_config() -{ - ks_config_menu - ks_config_fonts -} - -function ks_remove() -{ - if [ -e /etc/xdg/menus/applications-merged/wps-office.menu ] ; then - rm -rf /etc/xdg/menus/applications-merged/wps-office.menu - fi - - if [ -x /usr/bin/update-mime-database ] ; then - update-mime-database "${ksv_xdg_dir}/mime" - fi - - if [ -x /usr/bin/update-desktop-database ] ; then - update-desktop-database -q "${ksv_xdg_dir}/applications" - fi - - if [ -d /usr/share/fonts/wps-office ] ; then - cd /usr/share/fonts - fc-cache -f - fi -} - -function ks_purge() -{ - if [ -d /usr/share/fonts/wps-office ] ; then - rm -rf /usr/share/fonts/wps-office - fi -} - -function ks_uninstall_icon() -{ - local context=$1 - shift - local mode=$1 - shift - - local png= - local mime= - local nextIsPng=0 - for item in $@ - do - if [ "" = "${item}" ] ; then - continue - fi - if [ ${nextIsPng} -eq 1 ] ; then - png=${item} - nextIsPng=0 - else - mime=${item} - for i in 48 32 22 16; do - if [ -e "${ksv_xdg_dir}/${ksv_def_icon_theme}/${i}x${i}/${context}/${png}" ] ; then - xdg-icon-resource uninstall --noupdate --mode ${mode} --context ${context} --size ${i} ${mime} - fi - done - - nextIsPng=1 - fi - done -} - -function ks_prerm_uninstall_menu() -{ - if [ -f "${ksv_xdg_dir}/applications/wps-office-et.desktop" ] ; then - xdg-mime uninstall --mode system "${ksv_xdg_dir}/mime/packages/wps-office-et.xml" - - #xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-et.desktop" - xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/applications/wps-office-et.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_uninstall_icon "mimetypes" "system" "${ksv_et_mimes[*]}" "${ksv_excel_mimes[*]}" - xdg-icon-resource forceupdate --mode system - fi - - if [ -f "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" ] ; then - xdg-mime uninstall --mode system "${ksv_xdg_dir}/mime/packages/wps-office-wpp.xml" - - #xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" - xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/applications/wps-office-wpp.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_uninstall_icon "mimetypes" "system" "${ksv_wpp_mimes[*]}" "${ksv_ppt_mimes[*]}" - xdg-icon-resource forceupdate --mode system - fi - - if [ -f "${ksv_xdg_dir}/applications/wps-office-wps.desktop" ] ; then - xdg-mime uninstall --mode system "${ksv_xdg_dir}/mime/packages/wps-office-wps.xml" - - #xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/desktop-directories/wps-office.directory" "${ksv_xdg_dir}/applications/wps-office-wps.desktop" - xdg-desktop-menu uninstall --noupdate --mode system "${ksv_xdg_dir}/applications/wps-office-wps.desktop" - xdg-desktop-menu forceupdate --mode system - - ks_uninstall_icon "mimetypes" "system" "${ksv_wps_mimes[*]}" "${ksv_word_mimes[*]}" - xdg-icon-resource forceupdate --mode system - fi - -} - - -function ks_prerm_upgrade() -{ - ks_prerm_uninstall_menu -} - -function ks_prerm_remove() -{ - ks_prerm_uninstall_menu -} - - -function ks_main() -{ - if [ $# -eq 0 ] ; then - return; - fi - - ks_init - case $1 in - configure ) - shift - ks_config $@ - ;; - prerm ) - shift - ks_prerm_remove $@ - ;; - remove ) - shift - ks_remove $@ - ks_purge $@ - ;; - preupgrade ) - shift - ks_prerm_upgrade $@ - ;; - esac -} - -post_install() -{ - ks_main configure - whisperer -} - -pre_upgrade() -{ - ks_main preupgrade -} - -post_upgrade() -{ - ks_main configure - whisperer -} - -pre_remove() -{ - ks_main prerm -} - -post_remove() -{ - ks_main remove -} diff --git a/nautilus-gksu/99_intltool.patch b/nautilus-gksu/99_intltool.patch deleted file mode 100644 index e3135ea..0000000 --- a/nautilus-gksu/99_intltool.patch +++ /dev/null @@ -1,255 +0,0 @@ ---- gksu-2.0.2.orig/po/Makefile.in.in 2008-05-09 19:42:02.000000000 +0200 -+++ gksu-2.0.2/po/Makefile.in.in 2010-10-19 23:24:51.547443175 +0200 -@@ -1,10 +1,10 @@ - # Makefile for program source directory in GNU NLS utilities package. - # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper -+# Copyright (C) 2004-2008 Rodney Dawes - # --# This file file be copied and used freely without restrictions. It can --# be used in projects which are not available under the GNU Public License -+# This file may be copied and used freely without restrictions. It may -+# be used in projects which are not available under a GNU Public License, - # but which still want to provide support for the GNU gettext functionality. --# Please note that the actual code is *not* freely available. - # - # - Modified by Owen Taylor to use GETTEXT_PACKAGE - # instead of PACKAGE and to look for po2tbl in ./ not in intl/ -@@ -12,7 +12,7 @@ - # - Modified by jacob berkman to install - # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize - # --# - Modified by Rodney Dawes for use with intltool -+# - Modified by Rodney Dawes for use with intltool - # - # We have the following line for use by intltoolize: - # INTLTOOL_MAKEFILE -@@ -21,12 +21,11 @@ - PACKAGE = @PACKAGE@ - VERSION = @VERSION@ - --SHELL = /bin/sh --@SET_MAKE@ -+SHELL = @SHELL@ - - srcdir = @srcdir@ - top_srcdir = @top_srcdir@ --top_builddir = .. -+top_builddir = @top_builddir@ - VPATH = @srcdir@ - - prefix = @prefix@ -@@ -34,9 +33,8 @@ - datadir = @datadir@ - datarootdir = @datarootdir@ - libdir = @libdir@ --localedir = $(libdir)/locale --gnulocaledir = $(datadir)/locale --gettextsrcdir = $(datadir)/glib-2.0/gettext/po -+DATADIRNAME = @DATADIRNAME@ -+itlocaledir = $(prefix)/$(DATADIRNAME)/locale - subdir = po - install_sh = @install_sh@ - # Automake >= 1.8 provides @mkdir_p@. -@@ -46,7 +44,6 @@ - INSTALL = @INSTALL@ - INSTALL_DATA = @INSTALL_DATA@ - --CC = @CC@ - GMSGFMT = @GMSGFMT@ - MSGFMT = @MSGFMT@ - XGETTEXT = @XGETTEXT@ -@@ -55,31 +52,26 @@ - MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist - GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot - --DEFS = @DEFS@ --CFLAGS = @CFLAGS@ --CPPFLAGS = @CPPFLAGS@ -- --INCLUDES = -I.. -I$(top_srcdir)/intl -- --COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) -- --SOURCES = --POFILES = @POFILES@ --GMOFILES = @GMOFILES@ --DISTFILES = ChangeLog Makefile.in.in POTFILES.in \ --$(POFILES) $(SOURCES) --EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS -+ALL_LINGUAS = @ALL_LINGUAS@ -+ -+PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) -+ -+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) -+ -+USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) -+ -+POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) -+ -+DISTFILES = Makefile.in.in POTFILES.in $(POFILES) -+EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS - - POTFILES = \ -+# This comment gets stripped out - --CATALOGS = @CATALOGS@ --CATOBJEXT = @CATOBJEXT@ -+CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) - - .SUFFIXES: --.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat -- --.c.o: -- $(COMPILE) $< -+.SUFFIXES: .po .pox .gmo .mo .msg .cat - - .po.pox: - $(MAKE) $(GETTEXT_PACKAGE).pot -@@ -105,76 +97,59 @@ - $(GETTEXT_PACKAGE).pot: $(POTFILES) - $(GENPOT) - --install: install-exec install-data --install-exec: -+install: install-data - install-data: install-data-@USE_NLS@ - install-data-no: all - install-data-yes: all -- $(mkdir_p) $(DESTDIR)$(datadir) -- @catalogs='$(CATALOGS)'; \ -- for cat in $$catalogs; do \ -- cat=`basename $$cat`; \ -- case "$$cat" in \ -- *.gmo) destdir=$(gnulocaledir);; \ -- *) destdir=$(localedir);; \ -- esac; \ -- lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ -- dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \ -+ linguas="$(USE_LINGUAS)"; \ -+ for lang in $$linguas; do \ -+ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ - $(mkdir_p) $$dir; \ -- if test -r $$cat; then \ -- $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE).mo; \ -- echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE).mo"; \ -+ if test -r $$lang.gmo; then \ -+ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ -+ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ - else \ -- $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE).mo; \ -- echo "installing $(srcdir)/$$cat as" \ -+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ -+ echo "installing $(srcdir)/$$lang.gmo as" \ - "$$dir/$(GETTEXT_PACKAGE).mo"; \ - fi; \ -- if test -r $$cat.m; then \ -- $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ -- echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ -+ if test -r $$lang.gmo.m; then \ -+ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ -+ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ - else \ -- if test -r $(srcdir)/$$cat.m ; then \ -- $(INSTALL_DATA) $(srcdir)/$$cat.m \ -+ if test -r $(srcdir)/$$lang.gmo.m ; then \ -+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ - $$dir/$(GETTEXT_PACKAGE).mo.m; \ -- echo "installing $(srcdir)/$$cat as" \ -+ echo "installing $(srcdir)/$$lang.gmo.m as" \ - "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ - else \ - true; \ - fi; \ - fi; \ - done -- if test "$(PACKAGE)" = "glib"; then \ -- $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ -- $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ -- $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ -- else \ -- : ; \ -- fi -+ -+# Empty stubs to satisfy archaic automake needs -+dvi info ctags tags CTAGS TAGS ID: - - # Define this as empty until I found a useful application. --installcheck: -+install-exec installcheck: - - uninstall: -- catalogs='$(CATALOGS)'; \ -- for cat in $$catalogs; do \ -- cat=`basename $$cat`; \ -- lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ -- rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ -- rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ -- rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ -- rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ -+ linguas="$(USE_LINGUAS)"; \ -+ for lang in $$linguas; do \ -+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ -+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ - done -- if test "$(PACKAGE)" = "glib"; then \ -- rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ -- fi - - check: all $(GETTEXT_PACKAGE).pot -- --dvi info tags TAGS ID: -+ rm -f missing notexist -+ srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m -+ if [ -r missing -o -r notexist ]; then \ -+ exit 1; \ -+ fi - - mostlyclean: -- rm -f core core.* *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp -- rm -fr *.o -+ rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp - rm -f .intltool-merge-cache - - clean: mostlyclean -@@ -188,7 +163,7 @@ - @echo "it deletes files that may require special tools to rebuild." - rm -f Makefile.in.in - --distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir) -+distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) - dist distdir: $(DISTFILES) - dists="$(DISTFILES)"; \ - extra_dists="$(EXTRA_DISTFILES)"; \ -@@ -204,10 +179,8 @@ - update-po: Makefile - $(MAKE) $(GETTEXT_PACKAGE).pot - tmpdir=`pwd`; \ -- catalogs='$(CATALOGS)'; \ -- for cat in $$catalogs; do \ -- cat=`basename $$cat`; \ -- lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ -+ linguas="$(USE_LINGUAS)"; \ -+ for lang in $$linguas; do \ - echo "$$lang:"; \ - result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ - if $$result; then \ -@@ -223,7 +196,7 @@ - fi; \ - fi; \ - else \ -- echo "msgmerge for $$cat failed!"; \ -+ echo "msgmerge for $$lang.gmo failed!"; \ - rm -f $$tmpdir/$$lang.new.po; \ - fi; \ - done -@@ -234,8 +207,8 @@ - $(MAKE) stamp-it; \ - fi - --stamp-it: Makefile.in.in ../config.status POTFILES.in -- cd .. \ -+stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in -+ cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ - $(SHELL) ./config.status - diff --git a/nautilus-gksu/PKGBUILD b/nautilus-gksu/PKGBUILD deleted file mode 100644 index d16891c..0000000 --- a/nautilus-gksu/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=nautilus-gksu -_pkgname=gksu -pkgver=2.0.2 -pkgrel=2 -pkgdesc="privilege granting extension for nautilus using gksu" -arch=('i686' 'x86_64') -url="http://www.nongnu.org/gksu/index.html" -license=('GPL') -depends=('libgksu>=2.0.12' 'xorg-xauth') -makedepends=('gtk-doc' 'intltool') -options=('!libtool') -source=("http://people.debian.org/~kov/gksu/${_pkgname}-${pkgver}.tar.gz" - "99_intltool.patch") -md5sums=('cacbcac3fc272dce01c6ea38354489e2' - '586e03fc02a6eeee250a60d6841597cb') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop - echo "TryExec=gnome-terminal" >> gksu.desktop - - #fix translate bug - patch -p1 -i "${srcdir}/99_intltool.patch" - - #fix nautilus-gksu - cd "${srcdir}/${_pkgname}-${pkgver}/nautilus-gksu" - sed -i 's_#include $_ _' *.c - - cd "${srcdir}/${_pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static - make -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - - #remove files for gksu - rm -r "${pkgdir}/usr/bin/" - rm -r "${pkgdir}/usr/share/gksu" - rm -r "${pkgdir}/usr/share/man" - rm -r "${pkgdir}/usr/share/pixmaps" - rm -r "${pkgdir}/usr/share/applications" - - #move to right place - mkdir "${pkgdir}/usr/lib/nautilus/extensions-3.0/" - cp "${pkgdir}/usr/lib/nautilus/extensions-2.0/libnautilus-gksu.so" "${pkgdir}/usr/lib/nautilus/extensions-3.0/" - -} diff --git a/network-manager-applet-gtk2/PKGBUILD b/network-manager-applet-gtk2/PKGBUILD deleted file mode 100644 index 999a286..0000000 --- a/network-manager-applet-gtk2/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Jove Yu - -pkgname=network-manager-applet-gtk2 -_pkgname=network-manager-applet -pkgver=0.9.8.0 -pkgrel=1 -pkgdesc="GNOME frontend to NetWorkmanager compiled for gtk2" -arch=('i686' 'x86_64') -license=('GPL') -url="http://www.gnome.org/projects/NetworkManager/" -depends=('networkmanager' 'gtk2' 'libgnome-keyring' - 'libnotify' 'gnome-icon-theme' - 'mobile-broadband-provider-info' 'iso-codes') -makedepends=('intltool' 'gtk-doc') -optdepends=('gnome-bluetooth: for PAN/DUN support') -options=('!libtool') -provides=('network-manager-applet') -conflicts=('network-manager-applet') -install=network-manager-applet.install -source=("http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.9/network-manager-applet-${pkgver}.tar.xz") -md5sums=('531ce56c51ec86c5d2dc4cbe58649583') - - -build() { - cd ${_pkgname}-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc --with-gtkver=2 \ - --localstatedir=/var \ - --libexecdir=/usr/lib/networkmanager \ - --disable-static \ - --disable-maintainer-mode \ - --disable-migration \ - --disable-more-warnings - make -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install -} diff --git a/network-manager-applet-gtk2/network-manager-applet.install b/network-manager-applet-gtk2/network-manager-applet.install deleted file mode 100644 index b438b6d..0000000 --- a/network-manager-applet-gtk2/network-manager-applet.install +++ /dev/null @@ -1,18 +0,0 @@ -post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas - gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor -} - -pre_upgrade() { - if (( $(vercmp $2 0.9.6.0) < 0 )); then - gconfpkg --uninstall network-manager-applet - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/wine-qq/PKGBUILD b/wine-qq/PKGBUILD deleted file mode 100644 index 16c9ae9..0000000 --- a/wine-qq/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -#Maintainer: Jove Yu - -pkgname=wineqq -pkgver=20121221 -pkgrel=1 -pkgdesc='wine version of QQ client,made by Longene Team.' -arch=('i686' 'x86_64') -url='http://www.longene.org/' -license=('Other') -source=("http://www.longene.org/download/WineQQ2012-${pkgver}-Longene.deb") -md5sums=('3e41e1604018ec48fe4f95c3e84ee8eb') -if [ "$CARCH" = "i686" ]; then -depends=('gtk2' 'lcms' 'ncurses' 'alsa-plugins' 'libsm' 'libpng12') -elif [ "$CARCH" = "x86_64" ]; then -depends=('lib32-gtk2' 'lib32-lcms' 'lib32-ncurses' 'lib32-alsa-plugins' 'lib32-libsm' 'lib32-libpng12') -fi - -package() -{ - tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/ - chmod -R 755 ${pkgdir}/opt - chmod -R 755 ${pkgdir}/usr -}