2021-08-08 09:14:53 +00:00
|
|
|
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
|
|
|
|
|
|
|
|
pkgname=selectdefaultapplication-git
|
2021-08-18 17:54:31 +00:00
|
|
|
pkgver=r20.99f0b1f
|
2021-08-08 09:14:53 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='A very simple application that lets you define default applications on Linux in a sane way'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='https://github.com/sandsmark/selectdefaultapplication'
|
|
|
|
license=('GPL')
|
|
|
|
depends=('qt5-base' 'hicolor-icon-theme')
|
|
|
|
makedepends=('git')
|
|
|
|
source=("git://github.com/sandsmark/selectdefaultapplication.git")
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd selectdefaultapplication
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd selectdefaultapplication
|
|
|
|
qmake
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd selectdefaultapplication
|
|
|
|
install -dm755 ${pkgdir}/usr/bin/
|
|
|
|
install -m755 selectdefaultapplication ${pkgdir}/usr/bin/
|
|
|
|
|
|
|
|
install -dm755 ${pkgdir}/usr/share/applications/
|
|
|
|
install -m644 selectdefaultapplication.desktop ${pkgdir}/usr/share/applications/
|
|
|
|
install -dm755 ${pkgdir}/usr/share/icons/hicolor/48x48/apps/
|
|
|
|
install -m644 selectdefaultapplication.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/
|
|
|
|
}
|