summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4bd899864296d859ebf7759b0e868bdcffa7d2c (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
28
29
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Hubert Belanger <hubertolino@icloud.com>

pkgname='lazyorg-bin'
pkgver=1.0.1
pkgrel=1
pkgdesc='A simple terminal-based calendar and note-taking application.'
url='https://github.com/HubertBel/lazyorg'
arch=('x86_64')
license=('MIT')
provides=('lazyorg')
conflicts=('lazyorg')
depends=('glibc' 'sqlite')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/HubertBel/lazyorg/releases/download/v1.0.1/lazyorg_1.0.1_linux_amd64.tar.gz")
sha256sums_x86_64=('77e864ec63d4ac6a724460120ec5d1aff5f42b32fb28a6adce14bf68ba8bf192')

package() {
  # Install binary
  install -Dm755 "./lazyorg" "${pkgdir}/usr/bin/lazyorg"

  # Install documentation if present
  if [ -f "./LICENSE" ]; then
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/lazyorg/LICENSE"
  fi
  if [ -f "./README.md" ]; then
  install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/lazyorg/README.md"
  fi
}