mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 15:37:18 +00:00
update istodo
This commit is contained in:
parent
e261d3ae6d
commit
0affb3631c
@ -1,34 +1,32 @@
|
||||
# Maintainer: Evgeniy "arcanis" Alekseev <arcanis.arch at gmail dot com>
|
||||
# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot com>
|
||||
|
||||
pkgname=istodo
|
||||
pkgver=1.2
|
||||
pkgver=1.3.0
|
||||
pkgrel=1
|
||||
_refcommit=f4434216b659
|
||||
pkgdesc="Crossplatform Qt5 based organizer for students"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://istodo.ru/"
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
license=('GPL3')
|
||||
depends=('hicolor-icon-theme' 'libsm' 'mesa')
|
||||
makedepends=('desktop-file-utils')
|
||||
source=("http://dev.istodo.ru/istodo-desktop/get/v${pkgver}.tar.gz")
|
||||
install=${pkgname}.install
|
||||
md5sums=('61dc7ec57c9429942eb1e1bbfbb31b0f')
|
||||
|
||||
if [ "${CARCH}" == "x86_64" ]; then
|
||||
_filearch=amd64
|
||||
md5sums=('1f58521c2ddb9195a26a0bb3713a52a6')
|
||||
else
|
||||
_filearch=i386
|
||||
md5sums=('ef5a8809b6bff8c9bcf5a28e860a606b')
|
||||
fi
|
||||
source=(${pkgname}-${pkgver}.tar.gz::http://istodo.ru/distribs/${pkgname}-linux-${pkgver}-${_filearch}.tar.gz)
|
||||
build() {
|
||||
cd "${pkgname}-${pkgname}-desktop-${_refcommit}"
|
||||
qmake-qt5 PREFIX=/usr
|
||||
make sub-desktop
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-linux-${pkgver}-${_filearch}"
|
||||
|
||||
install -Dm755 istodo "${pkgdir}/usr/bin/istodo"
|
||||
install -Dm644 istodo.desktop "${pkgdir}/usr/share/applications/istodo.desktop"
|
||||
for _size in 32x32 48x48 64x64 128x128 256x256; do
|
||||
install -Dm644 icons/${_size}/istodo.png "${pkgdir}/usr/share/icons/hicolor/${_size}/istodo.png"
|
||||
done
|
||||
|
||||
install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
cd "${pkgname}-${pkgname}-desktop-${_refcommit}"
|
||||
install -Dm755 "desktop/iStodo" "${pkgdir}/usr/bin/istodo"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/icons/32x32/istodo.png" "${pkgdir}/usr/share/icons/hicolor/32x32/istodo.png"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/icons/48x48/istodo.png" "${pkgdir}/usr/share/icons/hicolor/48x48/istodo.png"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/icons/64x64/istodo.png" "${pkgdir}/usr/share/icons/hicolor/64x64/istodo.png"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/icons/128x128/istodo.png" "${pkgdir}/usr/share/icons/hicolor/128x128/istodo.png"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/icons/256x256/istodo.png" "${pkgdir}/usr/share/icons/hicolor/256x256/istodo.png"
|
||||
install -Dm644 "linux_deploy_1.0/source_amd64/istodo.desktop" "${pkgdir}/usr/share/applications/istodo.desktop"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user