summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7747768a9ef74844ed91e1a5dccd6231f9054f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: budRich von budlabs
# Contributor: budRich

pkgname=pkg-listn
pkgver=0.2.2
pkgrel=1
pkgdesc='Manage linux packages with a textfile'
arch=('any')
url='https://github.com/budRich/pkg-listn'
# url='file:///home/bud/git/bud/pkg-listn'
license=('Unlicense')
depends=('bash>=4.0.0' 'sed')
makedepends=(m4 gawk)
optdepends=('yay: AUR helper' 'paru: AUR helper')
conflicts=()
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
provides=()
sha256sums=('8a6898ae22e09d416495aa55dda637a6ccd59feae33a3ac5903beb929d518359')

package() {
  cd "${pkgname}-$pkgver"

  make DESTDIR="$pkgdir/" PREFIX=/usr install

  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
  install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}