mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
689 B
Bash
30 lines
689 B
Bash
pkgname=jxrlib
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="Open source implementation of jpegxr"
|
|
arch=(x86_64)
|
|
url="https://archive.codeplex.com/?p=jxrlib"
|
|
license=(GPL)
|
|
depends=(glibc)
|
|
makedepends=(cmake)
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/glencoesoftware/jxrlib/archive/v$pkgver.tar.gz
|
|
CMakeLists.txt)
|
|
sha256sums=('5ae964ae61f301f38a62b8e18eb8d2eee27eaf2b942477b033435ebf38fa4a19'
|
|
'8d6d49f6288b4e7f425aff7b5e33d2dc89b6ae85fd6805ae5a103f50bb28e746')
|
|
|
|
prepare() {
|
|
cp CMakeLists.txt $pkgname-$pkgver
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../$pkgname-$pkgver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|