Files
extra/xclip/PKGBUILD
2025-06-22 20:39:04 -05:00

27 lines
762 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
# Committer (Arch): Manolis Tzanidakis <manolis@archlinux.org>
pkgname=xclip
pkgver=0.13
pkgrel=2
pkgdesc='Command line interface to the X11 clipboard'
url='https://github.com/astrand/xclip'
arch=('i686' 'x86_64')
license=('GPL-2')
depends=('libxmu')
source=("$pkgname-$pkgver.tar.gz::https://github.com/astrand/xclip/archive/refs/tags/$pkgver.tar.gz")
sha512sums=('191a86194a1503a47c6641a55855dc4aaa8c2c99d2e6f1d46e727feec85a6639041f37ec2265c05c178c0c7d791d3e88bde89223f879effa878812f078485ed2')
build() {
cd $pkgname-$pkgver
./bootstrap
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname
}