New cairo-compmgr-git to work with vala-0.12
pidgin-libnotify-fork PKGBUILD for git version not yet in AUR
This commit is contained in:
parent
33969b06f2
commit
609897fb95
3 changed files with 55 additions and 3 deletions
3
pkgbuild/.gitignore
vendored
Normal file
3
pkgbuild/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*/pkg/*
|
||||
*/src/*
|
||||
*.tar.*
|
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Jacob Winther <jacob.winther@gmail.com>
|
||||
|
||||
pkgname=cairo-compmgr-git
|
||||
pkgver=20101104
|
||||
pkgver=20110317
|
||||
pkgrel=1
|
||||
pkgdesc="Cairo based composite manager - Git version"
|
||||
arch=(i686 x86_64)
|
||||
|
@ -12,7 +12,7 @@ license=(GPL)
|
|||
conflicts=(cairo-compmgr)
|
||||
provides=(cairo-compmgr)
|
||||
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf)
|
||||
depends=("gtk2>=2.16.0" "vala>=0.9.7" libsm)
|
||||
depends=("gtk2>=2.16.0" "vala>=0.11" libsm)
|
||||
options=(!makeflags
|
||||
!libtool)
|
||||
|
||||
|
@ -35,6 +35,10 @@ build() {
|
|||
cp -r $_gitname $_gitname-build
|
||||
cd $_gitname-build
|
||||
|
||||
#patch for compatibility with vala 0.12
|
||||
sed -i 's!vala-0.10!libvala-0.12!' configure.ac
|
||||
sed -i 's!vala-0.10!libvala-0.12!' vapi/cairo-compmgr.deps
|
||||
|
||||
./autogen.sh --prefix=/usr
|
||||
|
||||
make
|
||||
|
@ -44,7 +48,7 @@ package() {
|
|||
cd $_gitname-build
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
|
||||
install -d "$pkgdir/usr/share/gconf/schemas/"
|
||||
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
|
||||
rm -rf "$pkgdir/etc/gconf/schemas/"
|
||||
|
||||
|
|
45
pkgbuild/pidgin-libnotify-fork-git/PKGBUILD
Normal file
45
pkgbuild/pidgin-libnotify-fork-git/PKGBUILD
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
pkgname=pidgin-libnotify-fork-git
|
||||
pkgver=20110317
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc="pidgin plugin that enables popups when someone logs in or messages you."
|
||||
url="https://github.com/X-dark/ArchLinux/tree/master/code/pidgin-libnotify"
|
||||
license=('GPL')
|
||||
depends=('pidgin' 'libnotify' 'perlxml' 'gettext' 'notification-daemon')
|
||||
makedepends=('libtool' 'intltool')
|
||||
replaces=('gaim-libnotify' 'pidgin-libnotify')
|
||||
options=(!libtool)
|
||||
|
||||
_gitroot="https://github.com/X-dark/pidgin-libnotify-fork.git"
|
||||
_gitname="pidgin-libnotify-fork"
|
||||
|
||||
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 make..."
|
||||
|
||||
rm -rf "${srcdir}/$_gitname-build"
|
||||
git clone "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
|
||||
cd "${srcdir}/$_gitname-build"
|
||||
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --disable-deprecated --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
cd "${srcdir}/$_gitname-build"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in a new issue