initial import
This commit is contained in:
24
xbattmon/PKGBUILD
Normal file
24
xbattmon/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=xbattmon
|
||||
pkgver=1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Simple battery monitor for X"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://git.2f30.org/xbattmon'
|
||||
license=('Expat')
|
||||
depends=('libx11')
|
||||
source=("https://dl.2f30.org/releases/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('ba1de89f68b2efa0990d917af7d5d7abc38c438c074d5ce44eeadebdd01ab1f2c2d540d6d0474b644c691289a907072030a2aa48e6f9ccee3b0d2135de556769')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user