summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 418525b49b9fc6d6c6a9a5c040d56537b5f45654 (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=3
pkgdesc='Binary patch /usr/bin/ld to quiet the "contains output sections" warning that appears 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: