summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F Rødseth2017-07-31 11:58:56 +0200
committerAlexander F Rødseth2017-07-31 11:58:56 +0200
commite16d70cdec561675f2b9cc017262e85ae9ef765e (patch)
treee3d3ac96c1bc41f61d8395f02d9f9098bc187e11
downloadaur-e16d70cdec561675f2b9cc017262e85ae9ef765e.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2d0215d09c5
--- /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 00000000000..1c1b927584e
--- /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: