blob: 72c6b2d83b94b38fe1a2d915c5d570057631fd07 (
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
|
# Maintainer: Milad Alizadeh <milad@mil.ad>
# Based on the `xclip` package in the official repository:
# https://www.archlinux.org/packages/extra/x86_64/xclip/
_pkgname=xclip
pkgname=$_pkgname-git
pkgver=r167.11cba61
pkgrel=3
pkgdesc='Command line interface to the X11 clipboard'
url='https://github.com/astrand/xclip'
arch=('x86_64')
license=('GPL')
depends=('libxmu')
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("git+https://github.com/astrand/$_pkgname")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
./bootstrap
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|