mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 23:47:17 +00:00
qupzilla and kdm theme
This commit is contained in:
parent
8bd83be667
commit
ec916232f8
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
pkgname=kdm-theme-modernarchlinux
|
pkgname=kdm-theme-modernarchlinux
|
||||||
pkgver=1.0
|
pkgver=1.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Simple and minimalist theme for KDM with Archlinux logo"
|
pkgdesc="Simple and minimalist theme for KDM with Archlinux logo"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -9,11 +9,11 @@ url="http://kde-look.org/content/show.php?action=content&content=163475"
|
|||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
depends=('kdebase-workspace')
|
depends=('kdebase-workspace')
|
||||||
source=("http://kde-look.org/CONTENT/content-files/163475-KDM-Theme-archlinux.tar.gz")
|
source=("http://kde-look.org/CONTENT/content-files/163475-KDM-Theme-archlinux.tar.gz")
|
||||||
md5sums=('ba7b184795cc33b24dc472a5bdd6fa35')
|
md5sums=('3622ec3d364d2ca9cba5adbf94f616e4')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# install kdm theme
|
# install kdm theme
|
||||||
install -dm755 "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux"
|
install -dm755 "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux"
|
||||||
install -m644 "${srcdir}/KDM-Theme-archlinux/"* -t "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux"
|
install -m644 "${srcdir}/KDM-Theme-archlinux/"* -t "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux"
|
||||||
rm -r "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux/Licence GPLv3"
|
rm "${pkgdir}/usr/share/apps/kdm/themes/modernarchlinux/Licence GPLv3"
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,26 @@
|
|||||||
# $Id: PKGBUILD 104846 2014-01-27 14:17:21Z speps $
|
# $Id: PKGBUILD 104846 2014-01-27 14:17:21Z speps $
|
||||||
# Maintainer: speps <speps at aur dot archlinux dot org>
|
# Maintainer: speps <speps at aur dot archlinux dot org>
|
||||||
|
|
||||||
pkgbase=qupzilla
|
pkgname=qupzilla
|
||||||
pkgname=(qupzilla qupzilla-qt5)
|
pkgver=1.6.3
|
||||||
pkgver=1.6.1
|
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Cross-platform QtWebKit browser"
|
pkgdesc="Cross-platform QtWebKit browser"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://www.qupzilla.com/"
|
url="http://www.qupzilla.com/"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
makedepends=('qtwebkit' 'qt5-webkit' 'qt5-script' 'hunspell')
|
makedepends=('qtwebkit' 'hunspell')
|
||||||
optdepends=('bash-completion: bash completion support')
|
optdepends=('bash-completion: bash completion support')
|
||||||
install="$pkgbase.install"
|
install="$pkgbase.install"
|
||||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz"
|
source=("$pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz"
|
||||||
"${srcdir}/fix-color.patch")
|
"${srcdir}/fix-color.patch")
|
||||||
noextract=("$pkgbase-$pkgver.tar.gz")
|
noextract=("$pkgbase-$pkgver.tar.gz")
|
||||||
md5sums=('ca6fee487c9871d37d2dd09b3617b88f'
|
md5sums=('SKIP'
|
||||||
'b4f5f825c3763bc42c2df1af2703ac07')
|
'b4f5f825c3763bc42c2df1af2703ac07')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# extract
|
# extract
|
||||||
mkdir -p qt{4,5}
|
mkdir -p qt4
|
||||||
bsdtar --strip-components 1 -zxf $pkgbase-$pkgver.tar.gz -C qt4
|
bsdtar --strip-components 1 -zxf $pkgbase-$pkgver.tar.gz -C qt4
|
||||||
bsdtar --strip-components 1 -zxf $pkgbase-$pkgver.tar.gz -C qt5
|
|
||||||
|
|
||||||
patch -p0 -i "${srcdir}/fix-color.patch"
|
patch -p0 -i "${srcdir}/fix-color.patch"
|
||||||
# configure
|
# configure
|
||||||
@ -34,10 +32,6 @@ build() {
|
|||||||
cd qt4
|
cd qt4
|
||||||
qmake-qt4
|
qmake-qt4
|
||||||
make
|
make
|
||||||
|
|
||||||
cd ../qt5
|
|
||||||
qmake
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_qupzilla() {
|
package_qupzilla() {
|
||||||
@ -51,18 +45,4 @@ package_qupzilla() {
|
|||||||
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
|
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_qupzilla-qt5() {
|
|
||||||
pkgdesc+=" (Qt5)"
|
|
||||||
depends=('qt5-webkit' 'qt5-script' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
|
|
||||||
provides=('qupzilla')
|
|
||||||
conflicts=('qupzilla')
|
|
||||||
|
|
||||||
cd qt5
|
|
||||||
make INSTALL_ROOT="$pkgdir/" install
|
|
||||||
|
|
||||||
# zsh completion
|
|
||||||
install -Dm644 linux/completion/_$pkgbase \
|
|
||||||
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
Loading…
Reference in New Issue
Block a user