diff options
author | Martin T. H. Sandsmark | 2020-11-25 09:54:05 +0100 |
---|---|---|
committer | Martin T. H. Sandsmark | 2020-11-25 09:54:05 +0100 |
commit | d66d22922916d9c6bbc49f1f4560c403d7c76633 (patch) | |
tree | 25118f984c289747707c4db68f2383c867afcec6 /PKGBUILD | |
download | aur-d66d22922916d9c6bbc49f1f4560c403d7c76633.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3496fa30fc90 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org> + +pkgname=pastenotifier-git +pkgver=26.985ca75 +pkgrel=1 +pkgdesc="Simple application showing what is copied to the clipboard, avoids embarassment" +arch=(i686 x86_64) +url="https://github.com/sandsmark/pastenotifier" +license=(GPL3) +depends=(kglobalaccel) +makedepends=(git) +provides=(pastenotifier) +conflicts=(pastenotifier) +source=('git+https://github.com/sandsmark/pastenotifier.git') +md5sums=('SKIP') + +pkgver() { + cd pastenotifier + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../pastenotifier \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |