diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 14 insertions, 22 deletions
@@ -1,11 +1,11 @@ -# Maintainer: ValHue <vhuelamo at gmail dot com> -# +# Maintainer: Nicola Revelant <nicolarevelant@outlook.com> +# Contributor: ValHue <vhuelamo at gmail dot com> # Contributor: American_Jesus <american.jesus.pt AT gmail DOT com> # Contributor: Suhaimi Ghazali <serdotlinecho AT gmail DOT com> -# + _pkgname="mconnect" pkgname="${_pkgname}-git" -pkgver=417.81dc247 +pkgver=426.3991150 pkgrel=1 pkgdesc="KDE Connect protocol implementation in Vala/C for non-KDE desktops" arch=('i686' 'x86_64') @@ -16,31 +16,23 @@ license=('GPL2') install="${pkgname}.install" provides=("${_pkgname}") conflicts=("${_pkgname}") -options=('!emptydirs') -source=("mconnect::git+${url}.git#branch=master") -sha256sums=('SKIP') +source=("$pkgname::git+${url}.git#branch=master") +b2sums=('SKIP') pkgver() { - cd "${_pkgname}" - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) -} - -prepare() { - cd "${_pkgname}" - mkdir build + cd "$pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { - cd "${_pkgname}" - arch-meson build --prefix=/usr/ - ninja -C build + cd "$pkgname" + arch-meson build + ninja -C build } package() { - cd "${_pkgname}" - DESTDIR="${pkgdir}" ninja -C build install + cd "$pkgname" + DESTDIR="${pkgdir}" ninja -C build install - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } - -# vim: set ts=4 sw=4 et syn=sh ft=sh: |