diff options
author | Ghesy | 2022-08-03 12:08:48 +0430 |
---|---|---|
committer | Ghesy | 2022-08-03 12:08:48 +0430 |
commit | f5e3015fd0943e7af57704c0db14d995278c443f (patch) | |
tree | 6b8bd53b1401a3471593a4e8508b5e189973f7fd | |
parent | 7be6fb8e6c8defc6e4b395f0916c580d2a817da6 (diff) | |
download | aur-f5e3015fd0943e7af57704c0db14d995278c443f.tar.gz |
update source, add 'provides' and 'conflicts'
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 18 insertions, 14 deletions
@@ -1,14 +1,16 @@ pkgbase = xkblayout-subscribe-git pkgdesc = Subscribe to X keyboard layout events. useful for updating statusbars. pkgver = r1.bc13b72 - pkgrel = 2 - url = https://github.com/soystemd/xkblayout-subscribe + pkgrel = 3 + url = https://github.com/ghesy/xkblayout-subscribe arch = x86_64 license = GPL makedepends = git makedepends = pkgconf depends = libpulse - source = git+https://github.com/soystemd/xkblayout-subscribe.git + provides = xkblayout-subscribe + conflicts = xkblayout-subscribe + source = git+https://github.com/ghesy/xkblayout-subscribe.git md5sums = SKIP pkgname = xkblayout-subscribe-git @@ -1,16 +1,18 @@ # Maintainer: Ehsan Ghorbannezad <ehsan at disroot dot org> -_pkgname=xkblayout-subscribe -pkgname=$_pkgname-git +_pkgname='xkblayout-subscribe' +pkgname="${_pkgname}-git" pkgver=r1.bc13b72 -pkgrel=2 +pkgrel=3 pkgdesc='Subscribe to X keyboard layout events. useful for updating statusbars.' -url=https://github.com/soystemd/xkblayout-subscribe -arch=(x86_64) -license=(GPL) -depends=(libpulse) -makedepends=(git pkgconf) -source=("git+$url.git") -md5sums=(SKIP) +url='https://github.com/ghesy/xkblayout-subscribe' +arch=('x86_64') +license=('GPL') +depends=('libpulse') +makedepends=('git' 'pkgconf') +source=("git+${url}.git") +md5sums=('SKIP') +provides=("$_pkgname") +conflicts=("$_pkgname") pkgver() { cd "$_pkgname" @@ -25,5 +27,5 @@ build() { package() { cd "$_pkgname" make PREFIX=/usr DESTDIR="$pkgdir" install - install -Dm644 README.md "$pkgdir/usr/share/doc/${pkgname}/README.md" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } |