blob: f0ce3ae23a6592dbe680dfde9b666a582495e801 (
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
27
|
# Maintainer: SneakySnake <radiantstatue@gmail.com>
# Submit issues/pull requests at https://github.com/crumblingstatue/aur-nolifenx
pkgname=nolifenx
pkgver=1.0.0
pkgrel=3
pkgdesc='A library to read NX files'
arch=('i686' 'x86_64')
url='https://github.com/NoLifeDev/NoLifeNx'
license=('AGPL')
makedepends=('cmake')
depends=('lz4' 'gcc-libs')
source=("https://github.com/NoLifeDev/NoLifeNx/archive/${pkgver}.tar.gz")
sha1sums=('0bf58d5a84111a423653c6bb33206576c8f6f248')
build() {
cd NoLifeNx-${pkgver}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON ..
make
}
package() {
cd NoLifeNx-${pkgver}/build
make DESTDIR="$pkgdir/" install
}
|