blob: 3d762ebadae851f0d4cf7a624428e8012be054e9 (
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
|
# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx>
pkgname=copyq-plugin-itemweb-git
pkgver=20151130
pkgrel=1
pkgdesc="Clipboard manager with searchable and editable history. Itemweb plugin."
url="https://github.com/hluk/CopyQ"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('qt5-webkit' 'copyq-git')
makedepends=('cmake' 'git' 'qt5-tools' 'qt5-svg')
provides=('copyq-plugin-itemweb')
conflicts=('copyq-plugin-itemweb')
source=("${pkgname}::git+https://github.com/hluk/CopyQ.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
git log -1 --format="%cd" --date=short | tr -d '-'
}
build() {
mkdir -p ${srcdir}/${pkgname}/build
cd ${srcdir}/${pkgname}/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_QT5=TRUE \
${srcdir}/${pkgname}
make itemweb
}
package() {
cd ${srcdir}/${pkgname}/build
install -Dm755 plugins/libitemweb.so $pkgdir/usr/lib/copyq/plugins/libitemweb.so
rm -rf ${srdir}/${pkgname}/build
}
# vim:set ts=4 sw=4 et:
|