diff options
author | arcan1s | 2015-06-08 19:56:04 +0300 |
---|---|---|
committer | arcan1s | 2015-06-08 19:56:04 +0300 |
commit | 5d33eadcc414cb1d64464b56029ab870b4847936 (patch) | |
tree | 177263d094d5be749b9c7c2264d0691cf111597b /PKGBUILD | |
download | aur-5d33eadcc414cb1d64464b56029ab870b4847936.tar.gz |
upload istodo
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e69a1da4c919 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot com> + +pkgname=istodo +pkgver=1.3.0 +pkgrel=1 +_refcommit=f4434216b659 +pkgdesc="Crossplatform Qt5 based organizer for students" +arch=('i686' 'x86_64') +url="http://istodo.ru/" +license=('GPL3') +depends=('hicolor-icon-theme' 'qt5-base') +makedepends=('desktop-file-utils') +source=("http://dev.istodo.ru/istodo-desktop/get/v${pkgver}.tar.gz") +install=${pkgname}.install +md5sums=('61dc7ec57c9429942eb1e1bbfbb31b0f') + +build() { + cd "${pkgname}-${pkgname}-desktop-${_refcommit}" + qmake-qt5 PREFIX=/usr + make sub-desktop +} + +package() { + 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" +} |