mirror of
https://github.com/built-aur/packages
synced 2024-08-14 23:01:15 +00:00
addpkg: imgcomp
This commit is contained in:
parent
0100bf391b
commit
3d9886a63f
2 changed files with 32 additions and 0 deletions
31
packages/imgcomp/PKGBUILD
Normal file
31
packages/imgcomp/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: MedzikUser <nivua1fn@duck.com>
|
||||
pkgname='imgcomp'
|
||||
pkgver='0.1.0'
|
||||
pkgrel=1
|
||||
pkgdesc='Cross platform image compressing tool'
|
||||
arch=('x86_64')
|
||||
url="https://github.com/rafi612/imgcomp"
|
||||
license=('MIT')
|
||||
makedepends=('cmake' 'git')
|
||||
source=("${pkgname}::git+${url}#tag=${pkgver}")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
mkdir "${pkgname}/build"
|
||||
|
||||
cd "${pkgname}"
|
||||
git submodule init
|
||||
git submodule update
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}/build"
|
||||
cmake ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm 644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
1
packages/imgcomp/built.conf
Normal file
1
packages/imgcomp/built.conf
Normal file
|
@ -0,0 +1 @@
|
|||
GITHUB_REPO="rafi612/imgcomp"
|
Loading…
Reference in a new issue