diff options
author | aksr | 2019-10-13 02:19:07 +0200 |
---|---|---|
committer | aksr | 2019-10-13 02:19:07 +0200 |
commit | 3756fd94bfd63d7c04eafb8d4dfc6b6348fe8723 (patch) | |
tree | db5cd3c772bbb444c07684a2cce99941ad1a35fa | |
parent | b4f02d63c407bd59488cc42cc2ad8fe457d85f66 (diff) | |
download | aur-3756fd94bfd63d7c04eafb8d4dfc6b6348fe8723.tar.gz |
Update.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rw-r--r-- | copyq.install | 12 |
3 files changed, 26 insertions, 36 deletions
@@ -1,19 +1,22 @@ +# Generated by mksrcinfo v8 +# Sun Oct 13 00:18:41 UTC 2019 pkgbase = copyq-git pkgdesc = Clipboard manager with searchable and editable history. - pkgver = 20151130 + pkgver = r4773.2217511c pkgrel = 1 + epoch = 1 url = https://github.com/hluk/CopyQ - install = copyq.install arch = i686 arch = x86_64 license = GPL3 - makedepends = cmake makedepends = git + makedepends = cmake makedepends = qt5-tools - makedepends = qt5-svg + depends = hicolor-icon-theme depends = libxtst depends = qt5-script - depends = hicolor-icon-theme + depends = qt5-svg + depends = qt5-x11extras depends = desktop-file-utils optdepends = copyq-plugin-itemweb-git provides = copyq @@ -1,41 +1,40 @@ -# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx> # Contributor: SanskritFritz (gmail) - +# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx> +# Maintainer: aksr <aksr at t-com dot me> pkgname=copyq-git -pkgver=20151130 +pkgver=r4773.2217511c pkgrel=1 +epoch=1 pkgdesc="Clipboard manager with searchable and editable history." url="https://github.com/hluk/CopyQ" arch=('i686' 'x86_64') license=('GPL3') -depends=('libxtst' 'qt5-script' 'hicolor-icon-theme' 'desktop-file-utils') +depends=('hicolor-icon-theme' 'libxtst' 'qt5-script' 'qt5-svg' 'qt5-x11extras' 'desktop-file-utils') +makedepends=('git' 'cmake' 'qt5-tools') optdepends=('copyq-plugin-itemweb-git') -makedepends=('cmake' 'git' 'qt5-tools' 'qt5-svg') provides=('copyq') conflicts=('copyq') -source=("${pkgname}::git+https://github.com/hluk/CopyQ.git") +source=("$pkgname::git+https://github.com/hluk/CopyQ.git") md5sums=('SKIP') -install=copyq.install +install= pkgver() { - cd ${srcdir}/${pkgname} - git log -1 --format="%cd" --date=short | tr -d '-' + cd "$srcdir/$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - mkdir -p ${srcdir}/${pkgname}/build - cd ${srcdir}/${pkgname}/build - cmake \ + cd "$srcdir/$pkgname" + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_WEBKIT=0 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWITH_QT5=TRUE \ - ${srcdir}/${pkgname} - make + -DWITH_QT5=TRUE $srcdir/$pkgname + make } package() { - cd ${srcdir}/${pkgname}/build - make DESTDIR="${pkgdir}" install + cd "$srcdir/$pkgname/build" + make DESTDIR="$pkgdir" install } -# vim:set ts=4 sw=4 et: diff --git a/copyq.install b/copyq.install deleted file mode 100644 index d43ea7c35e25..000000000000 --- a/copyq.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &>/dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |