summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0552b7a27209e3033a275b844b98de2000178d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Andy Crowd <andy_crowd@ainsdata.se>
pkgname="lsdesktopf"
pkgver=1.0.7
pkgrel=4
pkgdesc="List available *.desktop files and search in their content."
arch=(any)
depends=('bash>=4.0' 'gawk' 'grep')
makedepends=('git')
source=("lsdesktopf::git+https://github.com/AndyCrowd/list-desktop-files.git")
license=('GPL3')
md5sums=('SKIP')
url="https://github.com/AndyCrowd/list-desktop-files"

package() {
  install -d "$pkgdir/usr/bin"
  install -d "$pkgdir/usr/share/licenses/$pkgname"
  install -d "$pkgdir/usr/share/doc/$pkgname"

  install -m755 "$srcdir/$pkgname/lsdesktopf" "$pkgdir/usr/bin"
  install -m644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
  install -m644 "$srcdir/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
}