blob: a4807e8c770f4d3ac6f3708cfa237054e4fb7856 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
_pkgname=lxqt-archiver
pkgname=$_pkgname-git
pkgver=1.0.0.r0.gb903c29
pkgrel=1
pkgdesc=" A simple & lightweight desktop-agnostic Qt file archiver"
arch=("i686" "x86_64")
url="https://lxqt.org"
license=("GPL2")
depends=('libfm-qt-git' 'glib2' 'json-glib')
makedepends=('git' 'cmake' 'qt6-tools' 'lxqt-build-tools-git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/lxqt/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
( set -o pipefail
git describe --long --tag 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
)
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
"$srcdir/$_pkgname"
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|