summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 411008185df75d55c778d67e92ee48950fbf90d1 (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
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>

pkgname=ldfpcfix
pkgver=1.0
pkgrel=1
pkgdesc='Workaround for the ld "contains output sections" warning when compiling with fpc'
arch=('any')
url='https://github.com/xyproto/ldfpcfix'
license=('MIT')
makedepends=('go' 'git')
source=("git+https://github.com/xyproto/ldfpcfix#tag=v$pkgver")
sha256sums=('SKIP')

build() {
  cd "$pkgname"

  go build
}

package() {
  install -Dm755 "$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
}

# vim: ts=2 sw=2 et: