blob: 1a068c369d9c19379f9ad2c2877ef8cf01cb98d6 (
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
|
# Maintainer: naelstrof <naelstrof@gmail.com>
pkgname=slop-git
_realname=slop
pkgver=v7.3.49.r1.gd7c12dd
pkgrel=2
conflicts=( 'slop' )
provides=( 'slop' )
pkgdesc="slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout."
arch=( 'i686' 'x86_64' )
url="https://github.com/naelstrof/$_realname"
license=( 'GPL3' )
depends=( 'libxext' 'libx11' 'mesa' 'libxrender' )
makedepends=( 'make' 'cmake' 'glm' )
source=( "slop::git+https://github.com/naelstrof/slop.git" )
md5sums=('SKIP')
pkgver() {
cd "$_realname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_realname"
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
}
package() {
cd "$srcdir/$_realname"
make DESTDIR="$pkgdir" install
}
|