aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eatmemory/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/eatmemory/APKBUILD')
-rw-r--r--testing/eatmemory/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/eatmemory/APKBUILD b/testing/eatmemory/APKBUILD
new file mode 100644
index 0000000000..4103100f59
--- /dev/null
+++ b/testing/eatmemory/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=eatmemory
+pkgver=0.1.4
+pkgrel=0
+pkgdesc="Simple C program to allocate memory from the command line"
+url="https://github.com/julman99/eatmemory"
+arch="all"
+license="Custom"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages=
+source="$pkgname-$pkgver.tar.gz::https://github.com/julman99/eatmemory/archive/v$pkgver.tar.gz
+ makefile.patch
+ "
+
+builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$builddir"
+ default_prepare || return 1
+}
+
+build() {
+ cd "$builddir"
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make PREFIX="$pkgdir" install || return 1
+}
+
+md5sums="9e4a35dc12be649ae2da45815b7da8bc eatmemory-0.1.4.tar.gz
+30697f50cf63cae4f1d72e3b574f63f3 makefile.patch"
+sha256sums="c4744e6b57129823b14e89f4bca39583b7ca2391ee8630c5f9b6f7217ad42cc4 eatmemory-0.1.4.tar.gz
+70d23b9ae74df6e408c4b9a7923df034d072dba6c3f0aed2f8bb2898bb524b8c makefile.patch"
+sha512sums="e2c1dfb20c050a4697a92588ad537c7784668b1dad978717a486441117f2e6c1f789ceb3bdff545354b7affceb9ff25d4d291d0499410bec68e89a91a5a4f435 eatmemory-0.1.4.tar.gz
+db1e48e71b1ce9754147c67a6ffeeae4f7e63895a5922b8213ae8ca7174bdefb552fce9c94b25891470e0daf6fd3fa86dfaf3569fa5572a31ceb15eac5b9e59e makefile.patch"