summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58f959c1e327e1003871df99148e4254c0e4af89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Charles L <charliehogger31@gmail.com>
pkgname=qmalloc
pkgver=1.1
pkgrel=1
pkgdesc="A simple extended malloc allowing for callbacks to be run if NULL was returned."
arch=('x86_64')
url="https://github.com/charliehogger31/qmalloc"
license=('BSD')
makedepends=('cmake')
source=("https://github.com/charliehogger31/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('9e9d835ab1d8103a8e1462f1fe79b073d9ea9b7595b2fdc866a936c1ae67b245')

build() {
	cd "$pkgname-$pkgver"
	cmake .
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}