File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Maintainer: Christoph Reiter <[email protected] >
2
+
3
+ pkgname=shutdown
4
+ pkgver=2.0.0
5
+ pkgrel=1
6
+ pkgdesc=" Shutdown, reboot, hibernate or suspend the machine"
7
+ arch=(' i686' ' x86_64' )
8
+ url=" https://cygwin.com/git/?p=cygwin-apps/shutdown.git"
9
+ makedepends=(
10
+ ' git'
11
+ ' gcc'
12
+ ' make'
13
+ )
14
+ msys2_repository_url=" https://cygwin.com/git/?p=cygwin-apps/shutdown.git"
15
+ msys2_references=(
16
+ ' cygwin: shutdown'
17
+ )
18
+ license=(' spdx:GPL-3.0-or-later' )
19
+ _tag=" v2.0.0-2"
20
+ source=(" git+https://cygwin.com/git/cygwin-apps/shutdown.git#tag=$_tag " )
21
+ sha256sums=(' c2259165b66f77ab633b464693aeadfbd6849df717136ba213ff01d286125503' )
22
+
23
+ build () {
24
+ mkdir " build-${CHOST} " && cd " build-${CHOST} "
25
+
26
+ make -f " ../${pkgname} " /Makefile SRCDIR=" ../${pkgname} "
27
+ }
28
+
29
+ package () {
30
+ cd " build-${CHOST} "
31
+
32
+ make install -f ../" ${pkgname} " /Makefile \
33
+ SRCDIR=../" ${pkgname} " \
34
+ DESTDIR=" ${pkgdir} "
35
+ }
You can’t perform that action at this time.
0 commit comments