Commit d80dad9c authored by Phil Miller's avatar Phil Miller
Browse files

* added pkgbuilds and other stuff

parent 400abfbc
# $Id: PKGBUILD 72214 2010-03-13 20:06:09Z andrea $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=amarok
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.3.0
pkgrel=1
pkgdesc="A media player for KDE"
arch=("i686" "x86_64")
url="http://amarok.kde.org"
license=('GPL2' 'LGPL2' 'FDL')
depends=('kdebase-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras' 'liblastfm')
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth')
optdepends=("libgpod: support Apple iPod audio devices"
"libmtp: support for portable media devices"
"loudmouth: backend needed by mp3tunes for syncing")
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('fc672a2848e36b3b44eb81dd1466e4f4')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package(){
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
# $Id: PKGBUILD 37020 2009-04-30 00:06:28Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=emovix
pkgver=0.9.0
pkgrel=4
pkgdesc="Create Movix-CD's (also emovix plugin for k3b)"
arch=(i686 x86_64)
url="http://movix.sourceforge.net/"
license=('GPL2')
depends=('perl' 'cdrtools')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/movix/$pkgname-$pkgver.tar.gz)
md5sums=('a96492f338824b24c5a9e714c57eddcf')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
find $pkgdir/usr/share/emovix -type d -exec chmod 755 {} \; || return 1
}
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=k3b
pkgver=1.91.0rc2
pkgrel=1
depends=('kdebase-runtime' 'kdemultimedia-common' 'libsamplerate' 'libmad'
'ffmpeg>=0.5' 'taglib>=1.4' 'libmpcdec>=1.2.5' 'libdvdread>=4.1.3'
'cdrdao' 'cdrkit' 'shared-mime-info' 'libxft')
makedepends=('cmake' 'pkgconfig' 'automoc4' )
pkgdesc="Feature-rich and easy to handle CD burning application"
arch=("i686" "x86_64")
license=('GPL')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/k3b/${pkgname}-${pkgver}.tar.bz2)
url="http://k3b.sourceforge.net/"
optdepends=('dvd+rw-tools: for dvd burning support'
'vcdimager: for vcd burning support'
'transcode: for advanced mpeg conversion support'
'emovix: for bootable multimedia cd/dvd support')
options=(!libtool)
build() {
# fix build
export CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -D__STDC_CONSTANT_MACROS"
cd ${srcdir}/
mkdir build
cd build
cmake ../${pkgname}-1.91.0 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
md5sums=('56d1c726a2771d341f59f08d5364d141')
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Sigitas Mazaliauskas <sigis@archlinux.us>
pkgname=opera
pkgver=10.10
_buildver=4742
pkgrel=1
pkgdesc="The Opera web browser"
url="http://www.opera.com"
depends=('qt')
license=('custom:opera')
arch=('i686' 'x86_64')
source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/i386/opera-${pkgver}.gcc4-qt4.i386.tar.bz2 opera.desktop)
md5sums=('b22f377a7a85df3f7a3831fcd2a4b2e4'
'43331f6889a24c55274968bb47ae824d')
[ "$CARCH" = "x86_64" ] && source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/x86_64/opera-${pkgver}.gcc4-qt4.x86_64.tar.bz2 opera.desktop)
[ "$CARCH" = "x86_64" ] && md5sums=('bedd94ab5a663d8e4b694da4772471b4'
'43331f6889a24c55274968bb47ae824d')
build() {
if [ "$CARCH" = "x86_64" ]; then
cd ${srcdir}/opera-${pkgver}-${_buildver}.gcc4-qt4.x86_64
else cd ${srcdir}/opera-${pkgver}-${_buildver}.gcc4-qt4.i386
fi
./install.sh DESTDIR=${pkgdir}
install -D -m 644 ${srcdir}/opera.desktop ${pkgdir}/usr/share/applications/opera.desktop
install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/opera/license.txt
if [ "$CARCH" = "x86_64" ]; then
install -D -m 644 ${srcdir}/opera-${pkgver}-${_buildver}.gcc4-qt4.x86_64/usr/share/pixmaps/opera.xpm ${pkgdir}/usr/share/pixmaps/opera.xpm
else
install -D -m 644 ${srcdir}/opera-${pkgver}-${_buildver}.gcc4-qt4.i386/usr/share/pixmaps/opera.xpm ${pkgdir}/usr/share/pixmaps/opera.xpm
fi
}
[Desktop Entry]
Encoding=UTF-8
Exec=opera %u
Terminal=false
Icon=opera
Type=Application
MimeType=text/html
Categories=Application;Network;
Name=Opera
Name[ar]=أوبرا
Name[bn]=অপেরা
Name[eo]=Opero
Name[fa]=اپرا
Name[hi]=ऑपेरा
Name[ko]=오페라
Name[lo]=ໂອເປຣາ
Name[pa]=ਓਪੇਰਾ
Name[ta]=ஓபேரா
Name[th]=โอเปรา
GenericName=Web Browser
GenericName[af]=Web Blaaier
GenericName[ar]=متصفح ويب
GenericName[az]=Veb Səyyahı
GenericName[bg]=Браузър
GenericName[bn]=ওয়েব ব্রাউজার
GenericName[br]=Furcher ar Gwiad
GenericName[bs]=WWW Preglednik
GenericName[ca]=Fullejador web
GenericName[cs]=WWW prohlížeč
GenericName[cy]=Porydd Gwe
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής Ιστού
GenericName[eo]=TTT-legilo
GenericName[es]=Navegador web
GenericName[et]=Veebilehitseja
GenericName[eu]=Web arakatzailea
GenericName[fa]=مرورگر وب
GenericName[fi]=WWW-selain
GenericName[fo]=Alnótsfar
GenericName[fr]=Navigateur web
GenericName[fy]=Webblêder
GenericName[ga]=Brabhsálaí Lín
GenericName[gl]=Navegador Web
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=वेब ब्राउज़र
GenericName[hr]=Web preglednik
GenericName[hu]=Webböngésző
GenericName[is]=Vafri
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[km]=កម្មវិធី​រុករក​បណ្ដាញ
GenericName[ko]=웹 브라우저
GenericName[lo]=ເວັບບຣາວເຊີ
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa Pārlūks
GenericName[mk]=Прелистувач на Интернет
GenericName[mn]=Веб-Хөтөч
GenericName[ms]=Pelayar Web
GenericName[nb]=Nettleser
GenericName[nds]=Nettkieker
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[nso]=Seinyakisi sa Web
GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[ro]=Navigator de web
GenericName[ru]=Веб-браузер
GenericName[rw]=Mucukumbuzi Urubuga
GenericName[se]=Fierpmádatlogan
GenericName[sk]=Webový prehliadač
GenericName[sl]=Spletni brskalnik
GenericName[sr]=Веб прегледач
GenericName[sr@Latn]=Veb pregledač
GenericName[ss]=Ibrawuza yeWeb
GenericName[sv]=Webbläsare
GenericName[ta]=வலை உலாவி
GenericName[tg]=Тафсиргари вэб
GenericName[th]=เว็บบราวเซอร์
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[uz]=Веб-браузер
GenericName[ven]=Buronza ya Webu
GenericName[vi]=Trình duyệt Web
GenericName[wa]=Betchteu waibe
GenericName[xh]=Umkhangeli zincwadi we Web
GenericName[zh_CN]=Web 浏览器
GenericName[zh_TW]=網頁瀏覽器
GenericName[zu]=Umcingi we-Web
# $Id: PKGBUILD 11053 2010-02-05 09:31:08Z vegai $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=quassel
pkgver=0.6.1
pkgrel=1
pkgdesc="QT4 irc client with a separated core"
url="http://quassel-irc.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('kdelibs' 'oxygen-icons' 'hicolor-icon-theme' 'libindicate-qt')
makedepends=('cmake' 'automoc4')
source=("$url/system/files/$pkgname-$pkgver.tar.bz2"
'rc.quassel'
'quassel.conf')
install=quassel.install
backup=(etc/conf.d/quassel.conf)
build() {
cd ${srcdir}
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr/ -DWITH_KDE=1 -D CMAKE_BUILD_TYPE="Release" ../$pkgname-$pkgver/ -Wno-dev || return 1
make || return 1
make DESTDIR=${pkgdir} install
install -D -m755 ${srcdir}/rc.quassel \
${pkgdir}/etc/rc.d/quassel || return 1
install -D -m644 $srcdir/quassel.conf $pkgdir/etc/conf.d/quassel || return 1
}
md5sums=('569d310d06f124952009704d55a98100'
'91e414cb313430a2360f1a594b1d6ed3'
'479229556ba0dd94e3ce28e31e5deea9')
QUASSEL_USER=quassel
LISTEN=127.0.0.1
post_install() {
useradd -r -K SYS_UID_MAX=499 -K SYS_GID_MAX=499 -s /bin/sh -d /var/lib/quassel quassel
mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
[ `vercmp $2 0.5.2-1` -le 0 ] && (
cat <<EOF
==> - quasselcore now runs as the quassel user
==> - quasselcore now listens to port 127.0.0.1 by default
==> - both of above are configurable: /etc/conf.d/quassel
EOF
/etc/rc.d/quassel stop
post_install
) || true
}
pre_remove() {
/etc/rc.d/quassel stop
}
post_remove() {
userdel quassel
}
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/quassel
PIDFILE=/var/run/quassel.pid
PID=`pidof -o %PPID /usr/bin/quasselcore`
case "$1" in
start)
stat_busy "Starting Quassel Core"
[ -z "$PID" ] && su -l -c "/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=$LISTEN &" $QUASSEL_USER &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
echo $PID > $PIDFILE
add_daemon quassel
stat_done
fi
;;
stop)
stat_busy "Stopping Quassel Core"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm -f $PIDFILE
rm_daemon quassel
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rekonq-git
pkgver=20100523
pkgrel=1
pkgdesc="rekonq is a KDE web browser based on QtWebKit."
arch=('i686' 'x86_64')
url="http://rekonq.sourceforge.net/"
license=('GPL')
groups=()
depends=('kdelibs>=4.4.0' 'qt>=4.6')
makedepends=('gcc' 'cmake' 'automoc4' 'git')
provides=(rekonq)
conflicts=(rekonq)
replaces=()
backup=()
options=()
source=()
noextract=()
md5sums=()
_gitroot="git://gitorious.org/rekonq/mainline.git"
_gitname="mainline"
build(){
cd $srcdir
if [[ -d $_gitname ]]; then
(cd $_gitname && git pull origin)
else
git clone $_gitroot $_gitname
fi
cd $_gitname
rm -rf build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr .. || return 1
make || return 1
make DESTDIR=${pkgdir} install
}
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rekonq
pkgver=0.4.0
pkgrel=1
pkgdesc='A WebKit based web browser for KDE'
arch=('i686' 'x86_64')
url='http://rekonq.sourceforge.net/'
license=('GPL')
depends=('kdelibs>=4.4.0' 'qt>=4.6')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('607e826131d8ead1e48a7611ba2ef075')
build(){
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=smplayer
pkgver=0.6.9
pkgrel=1
pkgdesc="A complete front-end for MPlayer"
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt>=4.6.2' 'mplayer>=30526')
source=(http://downloads.sourceforge.net/sourceforge/smplayer/${pkgname}-${pkgver}.tar.bz2)
md5sums=('dfe874b386509de5df78537489f95004')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# remove broken translation
sed -i "s|translations/smplayer_gl.ts|#translations/smplayer_gl.ts|" src/smplayer.pro
make PREFIX=/usr || return 1
make PREFIX=${pkgdir}/usr install || return 1
install -dm755 ${pkgdir}/usr/share/pixmaps
ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \
${pkgdir}/usr/share/pixmaps/
sed -i 's|Exec=smplayer %U|Exec=smplayer %F|' ${pkgdir}/usr/share/applications/smplayer.desktop || return 1
sed -i 's|Exec=smplayer -add-to-playlist %U|Exec=smplayer -add-to-playlist %F|' \
${pkgdir}/usr/share/applications/smplayer_enqueue.desktop || return 1
}
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=yakuake
pkgver=2.9.6
pkgrel=1
pkgdesc="A KDE konsole application with the look and feel of that in the Quake engine"
arch=('i686' 'x86_64')
url="http://yakuake.kde.org"
license=('GPL')
depends=('kdebase-konsole')
makedepends=('cmake' 'automoc4')
source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('d5cbb912596fd1b3a92fdb04fe46cee0')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=${pkgdir} install
}
This diff is collapsed.
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
_origname=kdeaccessibility
#
# package info
#
pkgbase=('kdeaccessibility')
pkgname=('kdeaccessibility-common'
'kdeaccessibility-doc'
'kdeaccessibility-colorschemes'
'kdeaccessibility-iconthemes'
'kdeaccessibility-kmag'
'kdeaccessibility-kmousetool'
'kdeaccessibility-kmouth'
'kdeaccessibility-kttsd')
# Disabled
# 'kdeaccessibility-ksayit'
arch=('i686' 'x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="split package"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
install=${_origname}.install
options=('docs')
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdebase-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7")
source=($_mirror/${_origname}-$_kdever.tar.bz2)
md5sums=('f225cc7bc12f585a64f755764931a23e') # kdeaccessibility-4.4.3.tar.bz2
#
# build function
#
build()
{
cd ${srcdir}/${_origname}-${pkgver}
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make || return 1