mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Merge pull request #451 from gtmanfred/master
convert some -git pkgbuilds to pacman 4.1
This commit is contained in:
commit
eb7974cd11
12 changed files with 91 additions and 298 deletions
|
@ -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
|
||||
}
|
||||
|
|
@ -1,45 +1,42 @@
|
|||
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
|
||||
|
||||
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
|
||||
epoch=1
|
||||
plugrel=1
|
||||
pkgdesc="Tiny mouse emulator"
|
||||
arch=('arm' 'i686' 'x86_64')
|
||||
license=('GPL2')
|
||||
provides=('mouse-emul')
|
||||
source=("rc-d-mouse-emul" "conf-d-mouse-emul")
|
||||
md5sums=('62030a3303c2f4eb93a30b8cb81859cd'
|
||||
'9771ecbee361c73e6f50b64fe1083a38')
|
||||
source=("rc-d-mouse-emul" "conf-d-mouse-emul"
|
||||
"git://github.com/anarsoul/mouse-emul.git"
|
||||
"mouse-emul.service")
|
||||
url="https://github.com/anarsoul/mouse-emul"
|
||||
makedepends=('git')
|
||||
_gitroot=("https://github.com/anarsoul/mouse-emul.git")
|
||||
_gitname=("mouse-emul")
|
||||
md5sums=('SKIP')
|
||||
|
||||
_gitname=mouse-emul
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
||||
## 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
|
||||
cd ${srcdir}/${_gitname}
|
||||
make
|
||||
}
|
||||
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')
|
||||
|
|
8
alarm/mouse-emul-git/mouse-emul.service
Normal file
8
alarm/mouse-emul-git/mouse-emul.service
Normal 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
|
|
@ -11,7 +11,7 @@ echo "foo"
|
|||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting mouse-emul"
|
||||
/usr/local/bin/mouse-emul $MOUSE_DAEMON_ARGS&
|
||||
/usr/bin/mouse-emul $MOUSE_DAEMON_ARGS&
|
||||
add_daemon mouse-emul
|
||||
stat_done
|
||||
;;
|
||||
|
|
|
@ -3,30 +3,30 @@
|
|||
plugrel=1
|
||||
|
||||
pkgname=ofono-git
|
||||
pkgver=20110609
|
||||
pkgver=1.12.195.ga36ffa8
|
||||
pkgver() {
|
||||
cd "$srcdir/ofono"
|
||||
git describe --tags | sed 's/-/./g'
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
pkgdesc="A high-level D-Bus API for use by telephony applications of any license."
|
||||
arch=('arm' 'i686' 'x86_64')
|
||||
url="http://www.freesmartphone.org"
|
||||
license=('GPL')
|
||||
depends=('glib2' 'dbus' 'bluez')
|
||||
depends=('glib2' 'dbus' 'bluez' 'mobile-broadband-provider-info')
|
||||
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"
|
||||
build() {
|
||||
cd $srcdir
|
||||
msg "Connecting to git.kernel.org GIT server...."
|
||||
|
||||
if [ -d ${srcdir}/$_gitname ] ; then
|
||||
cd $_gitname && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone --depth 1 $_gitroot
|
||||
cd $_gitname
|
||||
fi
|
||||
./bootstrap || return 1
|
||||
./configure --prefix=/usr ||return 1
|
||||
make || return 1
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
cd "$srcdir/ofono"
|
||||
./bootstrap
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
package(){
|
||||
cd "$srcdir/ofono"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
|
|
@ -1,40 +1,30 @@
|
|||
plugrel=1
|
||||
|
||||
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
|
||||
pkgdesc="Arch Linux ARM web interface"
|
||||
arch=('arm')
|
||||
url="https://github.com/archlinuxarm/PlugUI"
|
||||
license=('GPL')
|
||||
depends=('python2' 'python2-cherrypy' 'django' 'python2-pytz')
|
||||
depends=('python2' 'python2-cherrypy' 'python2-django' 'python2-pytz')
|
||||
makedepends=('git')
|
||||
provides=('plugui')
|
||||
conflicts=('plugui')
|
||||
install=plugui.install
|
||||
|
||||
_gitroot="git://github.com/archlinuxarm/PlugUI.git"
|
||||
source=("git://github.com/archlinuxarm/PlugUI.git#commit=4a6f7cf4")
|
||||
md5sums=('SKIP')
|
||||
_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() {
|
||||
cd $srcdir/${_gitname}
|
||||
git checkout 4a6f7cf4
|
||||
# create directory structure
|
||||
install -d $pkgdir/opt/PlugUI
|
||||
install -d $pkgdir/var/run/PlugUI
|
||||
|
@ -43,7 +33,7 @@ package() {
|
|||
install -d $pkgdir/etc/rc.d
|
||||
|
||||
# copy everything
|
||||
cp -a * $pkgdir/opt/PlugUI
|
||||
cp -dpr --no-preserve=ownership * $pkgdir/opt/PlugUI
|
||||
|
||||
# install cron and rc.d scripts
|
||||
chmod +x $pkgdir/opt/PlugUI/plugmaintenance.py $pkgdir/opt/PlugUI/plugui.cherrypy
|
||||
|
|
|
@ -6,36 +6,38 @@
|
|||
|
||||
buildarch=4
|
||||
|
||||
pkgname="xf86-video-armsoc"
|
||||
pkgver=20130319
|
||||
pkgname=xf86-video-armsoc-git
|
||||
pkgver=145.47a3271
|
||||
pkgver() {
|
||||
cd "$srcdir/xf86-video-armsoc"
|
||||
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
||||
license=('GPL2')
|
||||
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
||||
options=('!libtool')
|
||||
source=('compat_post_X_1.13.patch')
|
||||
md5sums=('12ccb37f9bdfe2e920d95a2cca832295')
|
||||
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git"
|
||||
conflicts=(xf86-video-armsoc)
|
||||
replaces=(xf86-video-armsoc)
|
||||
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"
|
||||
|
||||
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"
|
||||
cd "$_gitname"
|
||||
fi
|
||||
msg "GIT checkout done or server timeout"
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_gitname"
|
||||
msg "Patching source..."
|
||||
# X 1.13 compatibility from the Linaro upstream
|
||||
git apply ${srcdir}/compat_post_X_1.13.patch
|
||||
|
||||
}
|
||||
build() {
|
||||
cd "$_gitname"
|
||||
msg "Starting build..."
|
||||
./autogen.sh --prefix=/usr
|
||||
make
|
||||
|
@ -48,3 +50,4 @@ package() {
|
|||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
|
|
|
@ -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')
|
Binary file not shown.
|
@ -12,36 +12,19 @@ depends=('kdelibs')
|
|||
makedepends=('cmake' 'git' 'automoc4')
|
||||
#conflicts=('kactivities' 'kdebase-runtime')
|
||||
#provides=('kactivities')
|
||||
|
||||
_gitroot="git://anongit.kde.org/kactivities"
|
||||
source=("kactivities::git://anongit.kde.org/kactivities")
|
||||
md5sums=('SKIP')
|
||||
_gitname="kactivities"
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
msg "Connecting to the GIT server...."
|
||||
|
||||
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 \
|
||||
mkdir "$srcdir/build"
|
||||
cd "$srcdir/build"
|
||||
cmake "$srcdir/$_gitname" -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
cd "${srcdir}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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:
|
Loading…
Reference in a new issue