diff options
author | Ehsan Ghorbannezhad | 2022-07-22 07:27:39 +0430 |
---|---|---|
committer | Ehsan Ghorbannezhad | 2022-07-22 07:27:39 +0430 |
commit | a334ccc00d4174ca894cad7f84023110ade3c182 (patch) | |
tree | caacbfff1485d861b8ef55f4f3d708c1e892e42a | |
parent | c1195474c6126a3f994e0f47ff671b23666f392e (diff) | |
download | aur-a334ccc00d4174ca894cad7f84023110ade3c182.tar.gz |
add "provides" and "conflicts"
VCS packages need these.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 34 insertions, 30 deletions
@@ -1,7 +1,7 @@ pkgbase = lfutils-git pkgdesc = Scripts and utilities for the lf file manager. - pkgver = r92.4d52766 - pkgrel = 2 + pkgver = r96.8149768 + pkgrel = 1 url = https://github.com/soystemd/lfutils arch = x86_64 license = GPL @@ -23,6 +23,8 @@ pkgbase = lfutils-git optdepends = docx2txt: previewing docx files optdepends = odt2txt: previewing OpenDocument files optdepends = transmission-cli: previewing .torrent files + provides = lfutils + conflicts = lfutils source = git+https://github.com/soystemd/lfutils.git md5sums = SKIP @@ -1,34 +1,36 @@ # Maintainer: Ehsan Ghorbannezad <ehsan at disroot dot org> -_pkgname=lfutils -pkgname=$_pkgname-git -pkgver=r92.4d52766 -pkgrel=2 +_pkgname='lfutils' +pkgname="${_pkgname}-git" +pkgver=r96.8149768 +pkgrel=1 pkgdesc='Scripts and utilities for the lf file manager.' -url=https://github.com/soystemd/lfutils -source=("git+$url.git") -arch=(x86_64) -license=(GPL) -makedepends=(git) -depends=(lf) +url='https://github.com/soystemd/lfutils' +source=("git+${url}.git") +arch=('x86_64') +license=('GPL') +makedepends=('git') +depends=('lf') optdepends=( -'archivemount: mounting and opening archives via lfmount' -'ueberzug: image previews' -'chafa: previewing images outside graphical environments' -'imagemagick: previewing svg files' -'gnome-epub-thumbnailer: previewing epub ebooks' -'ffmpegthumbnailer: previewing video thumbnails' -'poppler: previewing PDF files' -'atool: previewing archive contents' -'bat: previewing plain text and code' -'mediainfo: previewing info about music/media files' -'binutils: previewing object files' -'libcdio: previewing ISO files' -'catdoc: previewing Microsoft document files' -'docx2txt: previewing docx files' -'odt2txt: previewing OpenDocument files' -'transmission-cli: previewing .torrent files' + 'archivemount: mounting and opening archives via lfmount' + 'ueberzug: image previews' + 'chafa: previewing images outside graphical environments' + 'imagemagick: previewing svg files' + 'gnome-epub-thumbnailer: previewing epub ebooks' + 'ffmpegthumbnailer: previewing video thumbnails' + 'poppler: previewing PDF files' + 'atool: previewing archive contents' + 'bat: previewing plain text and code' + 'mediainfo: previewing info about music/media files' + 'binutils: previewing object files' + 'libcdio: previewing ISO files' + 'catdoc: previewing Microsoft document files' + 'docx2txt: previewing docx files' + 'odt2txt: previewing OpenDocument files' + 'transmission-cli: previewing .torrent files' ) -md5sums=(SKIP) +md5sums=('SKIP') +provides=("$_pkgname") +conflicts=("$_pkgname") pkgver() { cd "$_pkgname" @@ -36,7 +38,7 @@ pkgver() { } package() { - cd "${_pkgname}" + cd "$_pkgname" make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } |