initial import
This commit is contained in:
23
zzz/PKGBUILD
Normal file
23
zzz/PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=zzz
|
||||
pkgver=0.1.1
|
||||
pkgrel=3
|
||||
pkgdesc="A simple program to suspend or hibernate your computer"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/jirutka/zzz'
|
||||
license=('Expat')
|
||||
makedepends=('asciidoctor')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jirutka/zzz/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('34a7eda018072b0920405d29763610a019367a6c9aef563524d52719517a135fd09a0feef4bcf054ed460e5040b44ec80c8f72c8a6efb4a9735c2edccb862d70')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make CFLAGS="$CFLAGS -DZZZ_LOCK_FILE='\"/run/zzz.lock\"'"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR="$pkgdir" prefix=/usr
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user