summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3d2a8228a4f43d46303ae2de1988e9e2edbd207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: khhs khhs1671@gmail.com

pkgname="libmemstack-git"
pkgver="1.2.0"
pkgrel="0"
pkgdesc="A small lib for managing memory"
arch=("x86_64" "arm")
depends=("make" "gcc")
license=("custom")
source=()
sha512sums=()
conflicts=("libmemstack")
package() {
	if [[ -d "memstack" ]]; then 
		rm -rf memstack
	fi
	git clone https://github.com/Khhs167/memstack.git
	mkdir -p "${pkgdir}/usr/lib"
	mkdir -p "${pkgdir}/usr/include"
	make --directory=memstack install INSTALL_PATH="${pkgdir}/usr"
}