mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-16 00:50:25 +08:00
51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
|
# Maintainer: Anke Boersma <abveritas@chakra-project.org>
|
||
|
|
||
|
pkgname=oktopi
|
||
|
pkgver=1.3.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Oktopi, is a fork of octopi,a powerful Pacman frontend using Qt libs"
|
||
|
url="https://octopiproject.wordpress.com/"
|
||
|
arch=('x86_64')
|
||
|
license=('GPL3')
|
||
|
depends=('qt' 'pacman')
|
||
|
conflicts=('octopi')
|
||
|
replaces=('octopi')
|
||
|
categories=('system')
|
||
|
screenshot=('http://octopiproject.files.wordpress.com/2013/03/octopi_013_reinstalling_poppler.png?w=1000&h=')
|
||
|
source=("http://chakra-linux.org/sources/oktopi/oktopi-${pkgver}.tar.xz")
|
||
|
md5sums=('013fafa3487383a204cbe99f938796bb')
|
||
|
|
||
|
# create tarball: source PKGBUILD && mksource
|
||
|
|
||
|
mksource() {
|
||
|
if [ "${1}" = "" ] ; then
|
||
|
git clone git://gitorious.org//chakra/oktopi.git
|
||
|
else
|
||
|
git clone -b git://gitorious.org//chakra/oktopi.git
|
||
|
fi
|
||
|
pushd oktopi
|
||
|
popd
|
||
|
tar -cvJf oktopi-${pkgver}.tar.xz oktopi/*
|
||
|
md5sum oktopi-${pkgver}.tar.xz
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/oktopi"
|
||
|
|
||
|
qmake
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/oktopi"
|
||
|
|
||
|
mkdir -p ${pkgdir}/usr/share/icons
|
||
|
install -m 644 -p resources/images/oktopi_yellow.png ${pkgdir}/usr/share/icons/oktopi.png
|
||
|
|
||
|
mkdir -p ${pkgdir}/usr/bin
|
||
|
cp bin/oktopi ${pkgdir}/usr/bin
|
||
|
|
||
|
mkdir -p ${pkgdir}/usr/share/applications
|
||
|
install -m644 -p oktopi.desktop ${pkgdir}/usr/share/applications
|
||
|
}
|