summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07ba1eaa88fab1c7323da2bf7e671eaa6f19b101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Madison Lynch <madi@mxdi.xyz>
pkgname='dynamicarray'
pkgver=2.5.0
pkgrel=1
pkgdesc="Dynamic arrays in C"
arch=('x86_64')
url="https://gitlab.com/deadgirl/dynamicarray"
license=('MIT')
depends=('glibc')
makedepends=('gcc' 'make')
source=("${pkgname}.tar.gz::https://gitlab.com/deadgirl/${pkgname}/-/archive/master/${pkgname}-master.tar.gz")
md5sums=('SKIP')

package() {
	cd "$srcdir/$pkgname-master"
	make
	install -Dm755 "./libdynamicarray.so" "$pkgdir/usr/lib/libdynamicarray.so"
	install -Dm644 "include/dynamicarray.h" "$pkgdir/usr/include/dynamicarray.h"
}