summaryrefslogtreecommitdiff
path: root/manualPorts/lazarus/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/lazarus/Pkgfile
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/lazarus/Pkgfile')
-rw-r--r--manualPorts/lazarus/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/manualPorts/lazarus/Pkgfile b/manualPorts/lazarus/Pkgfile
new file mode 100644
index 0000000..913fd73
--- /dev/null
+++ b/manualPorts/lazarus/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Delphi-like IDE for fpc.
+# URL: http://www.lazarus-ide.org/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: fpc fpc-src gdb
+
+name=lazarus
+version=1.8.4
+release=1
+source=(https://downloads.sourceforge.net/project/$name/Lazarus%20Zip%20_%20GZip/Lazarus%20$version/$name-$version.tar.gz)
+
+build() {
+ cd $name
+ MAKEFLAGS="$(echo "$MAKEFLAGS" | sed "s/-j[[:digit:]]\+\s\?//")" make bigide
+ make install PREFIX=$PKG/usr
+ find $PKG \
+ \( \
+ -name "*README*" -o \
+ -name "*BUGS*" -o \
+ -name "*TODO*" -o \
+ -name "*COPYING*" -o \
+ -name "*INSTALL*" -o \
+ -name "*ChangeLog*" \
+ \) -delete
+}