Merge pull request #451 from gtmanfred/master

convert some -git pkgbuilds to pacman 4.1
This commit is contained in:
Mike Brown 2013-04-08 10:58:33 -07:00
commit eb7974cd11
12 changed files with 91 additions and 298 deletions

View file

@ -1,57 +0,0 @@
plugrel=1
noautobuild=1
# Maintainer: Tobias Hunger <tobias dot hunger at gmx dot de>
pkgname=kde-contour-git
pkgver=20111218
pkgrel=1
pkgdesc="Context sensitive user interface for Plasma Active"
arch=(i686 x86_64)
url="http://community.kde.org/Plasma/Active/Contour"
license=('LGPL')
groups=()
depends=('kde-plasma-mobile-git' 'qt-mobility')
makedepends=('cmake' 'git' 'automoc4')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'
_gitroot=git://anongit.kde.org/contour
_gitname=contour
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
mkdir "$srcdir/build" > /dev/null 2>&1 || true
cd "$srcdir/build"
cmake "$srcdir/$_gitname" \
-DCMAKE_BUILD_TYPE=debugfull \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir/" install
}

View file

@ -1,45 +1,42 @@
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net> # Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
pkgname=mouse-emul-git pkgname=mouse-emul-git
pkgver=20110618 pkgver=13.3b2012c
pkgver(){
cd $srcdir/mouse-emul
echo $(git rev-list --count master).$(git rev-parse --short master)
}
pkgrel=1 pkgrel=1
epoch=1
plugrel=1 plugrel=1
pkgdesc="Tiny mouse emulator" pkgdesc="Tiny mouse emulator"
arch=('arm' 'i686' 'x86_64') arch=('arm' 'i686' 'x86_64')
license=('GPL2') license=('GPL2')
provides=('mouse-emul') provides=('mouse-emul')
source=("rc-d-mouse-emul" "conf-d-mouse-emul") source=("rc-d-mouse-emul" "conf-d-mouse-emul"
md5sums=('62030a3303c2f4eb93a30b8cb81859cd' "git://github.com/anarsoul/mouse-emul.git"
'9771ecbee361c73e6f50b64fe1083a38') "mouse-emul.service")
url="https://github.com/anarsoul/mouse-emul" url="https://github.com/anarsoul/mouse-emul"
makedepends=('git') makedepends=('git')
_gitroot=("https://github.com/anarsoul/mouse-emul.git") md5sums=('SKIP')
_gitname=("mouse-emul")
_gitname=mouse-emul
build() { build() {
cd ${srcdir} cd ${srcdir}/${_gitname}
make
## Git checkout
if [ -d ${srcdir}/${_gitname} ] ; then
msg "Git checkout: Updating existing tree"
cd ${_gitname} && git pull origin
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
git clone ${_gitroot}
fi
msg "Checkout completed"
## Build
rm -rf ${srcdir}/${_gitname}-build
cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/etc/rc.d ${pkgdir}/etc/conf.d
cp ${srcdir}/rc-d-mouse-emul ${pkgdir}/etc/rc.d/mouse-emul
cp ${srcdir}/conf-d-mouse-emul ${pkgdir}/etc/conf.d/mouse-emul
touch ${pkgdir}/etc/mouse-emulrc
} }
package() { package() {
true cd ${srcdir}/${_gitname}
make PREFIX=/usr DESTDIR=${pkgdir} install
install -Dm755 ${srcdir}/rc-d-mouse-emul ${pkgdir}/etc/rc.d/mouse-emul
install -Dm644 ${srcdir}/conf-d-mouse-emul ${pkgdir}/etc/conf.d/mouse-emul
install -Dm644 "$srcdir/mouse-emul.service" "$pkgdir/usr/lib/systemd/system/mouse-emul.service"
touch ${pkgdir}/etc/mouse-emulrc
} }
md5sums=('47b35f3d6281dd67add9ea9c62bfc782'
'9771ecbee361c73e6f50b64fe1083a38'
'SKIP'
'11c2e47a35bd62d380393b4042556d2b')

View file

@ -0,0 +1,8 @@
[Unit]
Description=Tiny Mouse Emulator
[Service]
ExecStart=/usr/bin/mouse-emul -d /dev/input/event0
[Install]
WantedBy=multi-user.target

View file

@ -11,7 +11,7 @@ echo "foo"
case "$1" in case "$1" in
start) start)
stat_busy "Starting mouse-emul" stat_busy "Starting mouse-emul"
/usr/local/bin/mouse-emul $MOUSE_DAEMON_ARGS& /usr/bin/mouse-emul $MOUSE_DAEMON_ARGS&
add_daemon mouse-emul add_daemon mouse-emul
stat_done stat_done
;; ;;

View file

@ -3,30 +3,30 @@
plugrel=1 plugrel=1
pkgname=ofono-git pkgname=ofono-git
pkgver=20110609 pkgver=1.12.195.ga36ffa8
pkgver() {
cd "$srcdir/ofono"
git describe --tags | sed 's/-/./g'
}
epoch=1
pkgrel=1 pkgrel=1
pkgdesc="A high-level D-Bus API for use by telephony applications of any license." pkgdesc="A high-level D-Bus API for use by telephony applications of any license."
arch=('arm' 'i686' 'x86_64') arch=('arm' 'i686' 'x86_64')
url="http://www.freesmartphone.org" url="http://www.freesmartphone.org"
license=('GPL') license=('GPL')
depends=('glib2' 'dbus' 'bluez') depends=('glib2' 'dbus' 'bluez' 'mobile-broadband-provider-info')
makedepends=('git') makedepends=('git')
_gitroot="git://git.kernel.org/pub/scm/network/ofono/ofono.git" source=("git://git.kernel.org/pub/scm/network/ofono/ofono.git")
md5sums=('SKIP')
_gitname="ofono" _gitname="ofono"
build() { build() {
cd $srcdir cd "$srcdir/ofono"
msg "Connecting to git.kernel.org GIT server...." ./bootstrap
./configure --prefix=/usr
if [ -d ${srcdir}/$_gitname ] ; then make
cd $_gitname && git pull origin }
msg "The local files are updated." package(){
else cd "$srcdir/ofono"
git clone --depth 1 $_gitroot make DESTDIR="$pkgdir" install
cd $_gitname
fi
./bootstrap || return 1
./configure --prefix=/usr ||return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
} }

View file

@ -1,40 +1,30 @@
plugrel=1 plugrel=1
pkgname=plugui-git pkgname=plugui-git
pkgver=20110705 pkgver=2.4a6f7cf
pkgver() {
cd "$srcdir/PlugUI"
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
}
epoch=1
pkgrel=1 pkgrel=1
pkgdesc="Arch Linux ARM web interface" pkgdesc="Arch Linux ARM web interface"
arch=('arm') arch=('arm')
url="https://github.com/archlinuxarm/PlugUI" url="https://github.com/archlinuxarm/PlugUI"
license=('GPL') license=('GPL')
depends=('python2' 'python2-cherrypy' 'django' 'python2-pytz') depends=('python2' 'python2-cherrypy' 'python2-django' 'python2-pytz')
makedepends=('git') makedepends=('git')
provides=('plugui') provides=('plugui')
conflicts=('plugui') conflicts=('plugui')
install=plugui.install install=plugui.install
_gitroot="git://github.com/archlinuxarm/PlugUI.git" source=("git://github.com/archlinuxarm/PlugUI.git#commit=4a6f7cf4")
md5sums=('SKIP')
_gitname="PlugUI" _gitname="PlugUI"
build() {
cd $srcdir
## Git checkout
if [ -d $srcdir/${_gitname} ] ; then
msg "Git checkout: Updating existing tree"
cd ${_gitname} && git pull
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
git clone ${_gitroot}
fi
msg "Checkout completed"
}
package() { package() {
cd $srcdir/${_gitname} cd $srcdir/${_gitname}
git checkout 4a6f7cf4
# create directory structure # create directory structure
install -d $pkgdir/opt/PlugUI install -d $pkgdir/opt/PlugUI
install -d $pkgdir/var/run/PlugUI install -d $pkgdir/var/run/PlugUI
@ -43,7 +33,7 @@ package() {
install -d $pkgdir/etc/rc.d install -d $pkgdir/etc/rc.d
# copy everything # copy everything
cp -a * $pkgdir/opt/PlugUI cp -dpr --no-preserve=ownership * $pkgdir/opt/PlugUI
# install cron and rc.d scripts # install cron and rc.d scripts
chmod +x $pkgdir/opt/PlugUI/plugmaintenance.py $pkgdir/opt/PlugUI/plugui.cherrypy chmod +x $pkgdir/opt/PlugUI/plugmaintenance.py $pkgdir/opt/PlugUI/plugui.cherrypy

View file

@ -6,36 +6,38 @@
buildarch=4 buildarch=4
pkgname="xf86-video-armsoc" pkgname=xf86-video-armsoc-git
pkgver=20130319 pkgver=145.47a3271
pkgver() {
cd "$srcdir/xf86-video-armsoc"
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
}
epoch=1
pkgrel=1 pkgrel=1
arch=('armv7h') arch=('armv7h')
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary" url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
license=('GPL2') license=('GPL2')
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto') makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool') options=('!libtool')
source=('compat_post_X_1.13.patch') conflicts=(xf86-video-armsoc)
md5sums=('12ccb37f9bdfe2e920d95a2cca832295') replaces=(xf86-video-armsoc)
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git" provides=(xf86-video-armsoc)
source=('compat_post_X_1.13.patch'
"git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271")
md5sums=('12ccb37f9bdfe2e920d95a2cca832295'
'SKIP')
_gitname="xf86-video-armsoc" _gitname="xf86-video-armsoc"
build() { prepare() {
cd "$srcdir" cd "$srcdir/$_gitname"
msg "Connecting to git server..."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
cd "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Patching source..." msg "Patching source..."
# X 1.13 compatibility from the Linaro upstream # X 1.13 compatibility from the Linaro upstream
git apply ${srcdir}/compat_post_X_1.13.patch git apply ${srcdir}/compat_post_X_1.13.patch
}
build() {
cd "$_gitname"
msg "Starting build..." msg "Starting build..."
./autogen.sh --prefix=/usr ./autogen.sh --prefix=/usr
make make
@ -48,3 +50,4 @@ package() {
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }

View file

@ -1,33 +0,0 @@
# Maintainer: Mike Brown <mbrown@archlinuxarm.org>
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg
buildarch=4
pkgname="xf86-video-armsoc"
pkgver=20121126
pkgrel=3
arch=('armv7h')
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
license=('GPL2')
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
source=("xf86-video-armsoc.tar.gz")
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
pkgdesc="armsoc framebuffer driver for X"
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
md5sums=('2b20b595c197194ebc29f22fb7246c31')

View file

@ -12,36 +12,19 @@ depends=('kdelibs')
makedepends=('cmake' 'git' 'automoc4') makedepends=('cmake' 'git' 'automoc4')
#conflicts=('kactivities' 'kdebase-runtime') #conflicts=('kactivities' 'kdebase-runtime')
#provides=('kactivities') #provides=('kactivities')
source=("kactivities::git://anongit.kde.org/kactivities")
_gitroot="git://anongit.kde.org/kactivities" md5sums=('SKIP')
_gitname="kactivities" _gitname="kactivities"
build() { build() {
cd $srcdir mkdir "$srcdir/build"
msg "Connecting to the GIT server...." cd "$srcdir/build"
cmake "$srcdir/$_gitname" -DCMAKE_BUILD_TYPE=Release \
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated."
else
git clone --depth 1 $_gitroot
fi
msg "GIT checkout done"
msg "Starting make..."
if [[ -d ${srcdir}/build ]]; then
msg "Cleaning the previous build directory..."
rm -rf ${srcdir}/build
fi
mkdir $srcdir/build
cd $srcdir/build
cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
make make
} }
package() { package() {
cd ${srcdir}/build cd "${srcdir}/build"
make DESTDIR=${pkgdir} install make DESTDIR="${pkgdir}" install
} }

View file

@ -1,57 +0,0 @@
plugrel=1
noautobuild=1
# Maintainer: Tobias Hunger <tobias dot hunger at gmx dot de>
pkgname=kde-plasma-mobile-git
pkgver=20111216
pkgrel=1
pkgdesc="A KDE Plasma shell for touch-screen based devices"
arch=(i686 x86_64)
url="http://community.kde.org/Plasma/Active"
license=('LGPL')
groups=()
depends=('kdelibs' 'kdebase-workspace' 'kactivities-git')
makedepends=('automoc4' 'cmake' 'git' 'libxft')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'
_gitroot=git://anongit.kde.org/plasma-mobile
_gitname=plasma-mobile
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone --depth 1 "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
mkdir "$srcdir/build" > /dev/null 2>&1 || true
cd "$srcdir/build"
cmake "$srcdir/$_gitname" \
-DCMAKE_BUILD_TYPE=debugfull \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir/" install
}

View file

@ -1,41 +0,0 @@
plugrel=1
noautobuild=1
# Submitter: Perry3D
# Maintainer: Maciek <maciekwer at wp dot pl>
# Contributor: giniu
pkgname=qt-mobility
pkgver=1.2.0
pkgrel=3
pkgdesc="It is a project within Nokia that is creating a new suite of Qt APIs for mobile device functionality. These APIs will enable cross-platform mobile application development."
arch=('x86_64' 'i686')
url="http://qt.nokia.com"
license=('LGPL')
depends=('qt>=4.7' 'bluez' 'mesa' 'pulseaudio')
makedepends=('perl')
optdepends=('networkmanager: Bearer Management'
'tracker: Document Gallery'
'gstreamer0.10-plugins>=0.10.19: Multimedia mediaservice plugins')
source=(http://get.qt.nokia.com/qt/add-ons/$pkgname-opensource-src-$pkgver.tar.gz)
md5sums=('ea5db5a8d3dd4709c2926dceda646bd8')
build() {
cd "$srcdir/${pkgname}-opensource-src-${pkgver}"
./configure -prefix /usr \
-plugindir /usr/lib/qt/plugins \
-silent
make
}
package() {
cd "$srcdir/${pkgname}-opensource-src-${pkgver}"
make INSTALL_ROOT="$pkgdir/" install
install -d ${pkgdir}/usr/share/doc/qt
cp -r doc/qch ${pkgdir}/usr/share/doc/qt/
}
# vim:set ts=2 sw=2 et: