summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 670503623992de8e711ae99d05aab609d7dbacc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Mikhail Rudenko <mike.rudenko@gmail.com>
pkgname=qt-autoupdater
pkgver=2.1.5_4
pkgrel=1
pkgdesc="A Qt library to automatically check for updates and install them"
arch=('x86_64')
url="https://skycoder42.github.io/QtAutoUpdater/"
license=('BSD')
depends=('qt5-base')
makedepends=('qdep' 'perl')
source=(https://github.com/Skycoder42/QtAutoUpdater/archive/${pkgver//_/-}.tar.gz)
md5sums=('295433fc74597d539de845f3685a5258')

build() {
  cd "$srcdir/QtAutoUpdater-${pkgver//_/-}"
  qmake
  perl -w /usr/bin/syncqt.pl -module QtAutoUpdaterCore -version 2.1.5 -outdir . -builddir . .
  perl -w /usr/bin/syncqt.pl -module QtAutoUpdaterGui -version 2.1.5 -outdir . -builddir . .
  make
}

package() {
  cd "$srcdir/QtAutoUpdater-${pkgver//_/-}"
  make INSTALL_ROOT="$pkgdir/" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

}

# vim:set ts=2 sw=2 et: