mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-08 20:19:04 +03:00
build: moved pkgbuilds to AUR dir
This commit is contained in:
@@ -33,5 +33,5 @@ build() {
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
44
AUR/PKGBUILD-git
Normal file
44
AUR/PKGBUILD-git
Normal file
@@ -0,0 +1,44 @@
|
||||
# Maintainer: Daniel Dada <dan@binarygoose.dev>
|
||||
pkgname=clrsync-git
|
||||
pkgver=r21.5dafb6c
|
||||
pkgrel=1
|
||||
pkgdesc="Color scheme manager (git version)"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/obsqrbtz/clrsync"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
glfw-x11
|
||||
freetype2
|
||||
fontconfig
|
||||
libx11
|
||||
libxrandr
|
||||
libxi
|
||||
mesa
|
||||
libglvnd
|
||||
libxinerama
|
||||
libxcursor
|
||||
)
|
||||
makedepends=('cmake' 'git')
|
||||
provides=('clrsync')
|
||||
conflicts=('clrsync')
|
||||
source=("$pkgname::git+https://github.com/obsqrbtz/clrsync.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname"
|
||||
cmake -B build -S . \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
@@ -33,5 +33,5 @@ build() {
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
@@ -26,8 +26,8 @@ configure_file(
|
||||
)
|
||||
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/PKGBUILD.in
|
||||
${CMAKE_SOURCE_DIR}/PKGBUILD
|
||||
${CMAKE_SOURCE_DIR}/AUR/PKGBUILD.in
|
||||
${CMAKE_SOURCE_DIR}/AUR/PKGBUILD
|
||||
@ONLY
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user