diff options
author | Ehsan Ghorbannezhad | 2022-02-08 17:22:41 +0330 |
---|---|---|
committer | Ehsan Ghorbannezhad | 2022-02-08 17:22:41 +0330 |
commit | 7be6fb8e6c8defc6e4b395f0916c580d2a817da6 (patch) | |
tree | afae50adf318136db98ffabe1cb3df149e7a4907 | |
parent | d67d94b5903d87f68e99b48f4e82bf0e3c0c932c (diff) | |
download | aur-7be6fb8e6c8defc6e4b395f0916c580d2a817da6.tar.gz |
remove the unneeded provides() and conflicts() arrays
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 14 insertions, 19 deletions
@@ -1,17 +1,14 @@ pkgbase = xkblayout-subscribe-git pkgdesc = Subscribe to X keyboard layout events. useful for updating statusbars. pkgver = r1.bc13b72 - pkgrel = 1 + pkgrel = 2 url = https://github.com/soystemd/xkblayout-subscribe arch = x86_64 license = GPL makedepends = git makedepends = pkgconf depends = libpulse - provides = xkblayout-subscribe - conflicts = xkblayout-subscribe source = git+https://github.com/soystemd/xkblayout-subscribe.git md5sums = SKIP pkgname = xkblayout-subscribe-git - @@ -1,18 +1,16 @@ -# Maintainer: Ehsan Ghorbannezad <ehsangn@protonmail.ch> -_pkgname='xkblayout-subscribe' -pkgname="${_pkgname}-git" +# Maintainer: Ehsan Ghorbannezad <ehsan at disroot dot org> +_pkgname=xkblayout-subscribe +pkgname=$_pkgname-git pkgver=r1.bc13b72 -pkgrel=1 +pkgrel=2 pkgdesc='Subscribe to X keyboard layout events. useful for updating statusbars.' -arch=('x86_64') -url='https://github.com/soystemd/xkblayout-subscribe' -license=('GPL') -depends=('libpulse') -makedepends=('git' 'pkgconf') -provides=("$_pkgname") -conflicts=("$_pkgname") -source=("git+${url}.git") -md5sums=('SKIP') +url=https://github.com/soystemd/xkblayout-subscribe +arch=(x86_64) +license=(GPL) +depends=(libpulse) +makedepends=(git pkgconf) +source=("git+$url.git") +md5sums=(SKIP) pkgver() { cd "$_pkgname" @@ -25,7 +23,7 @@ build() { } package() { - cd "${_pkgname}" + 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" } |