Add conkeror-git
This commit is contained in:
parent
87aad63088
commit
c8adcf31fb
4 changed files with 2316 additions and 0 deletions
52
conkeror-git/PKGBUILD
Normal file
52
conkeror-git/PKGBUILD
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Maintainer: Ivy Foster <joyfulgirl@archlinux.us>
|
||||
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||||
# Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.com>
|
||||
|
||||
pkgname=conkeror-git
|
||||
pkgver=20131118
|
||||
pkgrel=1
|
||||
pkgdesc="A highly programmable web browser based on Mozilla XULRunner."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://conkeror.mozdev.org/"
|
||||
license=('MPL' 'GPL' 'LGPL')
|
||||
depends=('xulrunner' 'desktop-file-utils')
|
||||
makedepends=('git' 'imagemagick')
|
||||
provides=(conkeror)
|
||||
source=('git://repo.or.cz/conkeror.git'
|
||||
conkeror_gimpfile.xpm
|
||||
conkeror.sh)
|
||||
md5sums=('SKIP'
|
||||
'b592582a5b923db1707615564a95737f'
|
||||
'11c6c76a2639254754b34a542f1965a1')
|
||||
install=conkeror-git.install
|
||||
_gitname=conkeror
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_gitname"
|
||||
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_gitname"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/${_gitname}
|
||||
|
||||
install -d "$pkgdir"/usr/share/{conkeror,man/man1,pixmaps}
|
||||
cp -a "$srcdir"/${_gitname}/* "$pkgdir"/usr/share/conkeror
|
||||
|
||||
install -Dm644 "$pkgdir"/usr/share/conkeror/contrib/man/conkeror.1 \
|
||||
"$pkgdir"/usr/share/man/man1/conkeror.1
|
||||
install -Dm644 "$srcdir"/${_gitname}/debian/conkeror.desktop \
|
||||
"$pkgdir"/usr/share/applications/conkeror.desktop
|
||||
install -Dm644 "$srcdir"/conkeror_gimpfile.xpm "$pkgdir"/usr/share/pixmaps
|
||||
|
||||
install -Dm755 "$srcdir"/conkeror.sh "$pkgdir"/usr/bin/conkeror
|
||||
|
||||
mv "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper "$pkgdir"/usr/bin
|
||||
rm "$pkgdir"/usr/share/conkeror/conkeror-spawn-helper.c
|
||||
rm -r "$pkgdir"/usr/share/conkeror/contrib/man
|
||||
rm -r "$pkgdir"/usr/share/conkeror/debian
|
||||
}
|
11
conkeror-git/conkeror-git.install
Normal file
11
conkeror-git/conkeror-git.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update-desktop-database -q
|
||||
}
|
2
conkeror-git/conkeror.sh
Normal file
2
conkeror-git/conkeror.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec xulrunner /usr/share/conkeror/application.ini "$@"
|
2251
conkeror-git/conkeror_gimpfile.xpm
Normal file
2251
conkeror-git/conkeror_gimpfile.xpm
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue