diff options
-rwxr-xr-x | shutdownasap/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/shutdownasap/PKGBUILD b/shutdownasap/PKGBUILD index 87a8428ef..f857618ec 100755 --- a/shutdownasap/PKGBUILD +++ b/shutdownasap/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Erich Eckner <arch at eckner dot net> pkgname=shutdownasap -pkgver=0.1 +pkgver=0.2 pkgrel=1 pkgdesc="simple script for shutdown waiting for certain processes and files to disapear" arch=('any') @@ -19,15 +19,18 @@ options=() source=( "${pkgname}-${pkgver}.tar.gz::https://opensources.eckner.net/dl.php?dl=${pkgname}-${pkgver}" ) -sha256sums=( - "46b96789476a0be581801e88454d03eb18c2796aa3033f21ad7a67e9b599f2fd" -) +sha512sums=('97306ecddb26734e02a2599c0f99263b80fa578ecc1e1b4d87f3066bf0e4522d15a6209ce3bfd2df5f9b735763c839ac8273cfd028e810624cb8cdf891b6ffe4') -package() { +build() { cd ${pkgname}-${pkgver} + make + +} - install -D -t $pkgdir/usr/bin/ shutdownasap - install -D -t $pkgdir/etc/ shutdownasap.conf +package() { + + cd ${pkgname}-${pkgver} + make DESTDIR=$pkgdir install } |