diff options
author | Kyle Laker | 2020-02-14 20:25:23 -0500 |
---|---|---|
committer | Kyle Laker | 2020-02-14 20:25:23 -0500 |
commit | a06075025864f84c34a9a14a67136deb7605cff8 (patch) | |
tree | c988870fe3e7cfd3f56e546ec47f3884006ac5aa | |
parent | 740860256360eb8c724d00977f9a0a3fc5c937cd (diff) | |
download | aur-a06075025864f84c34a9a14a67136deb7605cff8.tar.gz |
Update package based on suggestions.
Thanks, yochananmarqos!
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 23 insertions, 13 deletions
@@ -1,16 +1,20 @@ pkgbase = lm-warp-git pkgdesc = Share files across the LAN by Linux Mint - pkgver = 0.0.1 + pkgver = r21.cb9f695 pkgrel = 1 url = https://github.com/linuxmint/warp arch = x86_64 + license = none makedepends = git makedepends = meson depends = pygobject-devel depends = python-setproctitle depends = python-zeroconf depends = python-xapp - source = lm-warp-git::git://github.com/linuxmint/warp/ + depends = xapps + provides = lm-warp + conflicts = lm-warp + source = git+https://github.com/linuxmint/warp.git sha512sums = SKIP pkgname = lm-warp-git @@ -1,24 +1,30 @@ # Maintainer: Kyle Laker <kyle@laker.email> +# Contributor: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=lm-warp-git -pkgver=0.0.1 +pkgver=r21.cb9f695 pkgrel=1 pkgdesc="Share files across the LAN by Linux Mint" arch=("x86_64") -_github="github.com/linuxmint/warp" -url="https://$_github" -depends=(pygobject-devel python-setproctitle python-zeroconf python-xapp) -makedepends=(git meson) -source=("$pkgname::git://$_github/") +url="https://github.com/linuxmint/warp" +license=("none") +depends=("pygobject-devel" "python-setproctitle" "python-zeroconf" "python-xapp" "xapps") +makedepends=("git" "meson") +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("git+${url}.git") sha512sums=('SKIP') +pkgver() { + cd "$srcdir/warp" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { - cd "$srcdir" - pwd - meson --prefix /usr --buildtype=plain "$pkgname" build - ninja -C build + meson --prefix /usr --buildtype=plain warp build + ninja -C build } package() { - DESTDIR="$pkgdir" ninja -C build install + DESTDIR="$pkgdir" ninja -C build install } |