diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d0215d09c5f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Mon Jul 31 09:58:28 UTC 2017 +pkgbase = ldfpcfix + pkgdesc = Workaround for the ld \"contains output sections\" warning when compiling with fpc + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/xyproto/ldfpcfix + arch = any + license = MIT + makedepends = go + makedepends = git + source = git+https://github.com/xyproto/ldfpcfix#tag=v1.0 + sha256sums = SKIP + +pkgname = ldfpcfix + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c1b927584e8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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: |