aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eatmemory/APKBUILD
blob: c1c96684cf9d83e6b128c4092028ce4bb71f0729 (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
25
26
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=eatmemory
pkgver=0.1.6
pkgrel=0
pkgdesc="Simple C program to allocate memory from the command line"
url="https://github.com/julman99/eatmemory"
arch="all"
license="Custom"
source="$pkgname-$pkgver.tar.gz::https://github.com/julman99/eatmemory/archive/v$pkgver.tar.gz
	makefile.patch
	"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir" install
}

sha512sums="e2f3b945c7c00ee9aff2ba3f17a7020c2b2632e904faa8bdbe233998e777622e0151d052f9c5f10a0260f6213b0fa10129f11cedbc1f1db42d06a20909487728  eatmemory-0.1.6.tar.gz
6a7ca49059ae1b952f107a4f4dbf7e9bdffa5ad752c09ce7be0e7049d9bfd6c71c6a07bbfc425a44db24404f5bc01ca16084541167079596ece7886b9ee6bb22  makefile.patch"