blob: ccf084e11cff1f740f40eff62162ef0f003981d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: SkywalkerSW5 <skywalkersw5@protonmail.com>
pkgname=sarc
pkgver=1.0.0b
pkgrel=1
pkgdesc="My suckless setup"
arch=('any')
url="https://github.com/SkywalkerSW5/sarc"
license=('MIT')
depends=('adobe-source-code-pro-fonts' 'libnotify' 'dunst' 'picom' 'light' 'feh' 'xorg-server' 'sx' 'pulseaudio')
provides=('dwm' 'st' 'dmenu')
source=("https://github.com/SkywalkerSW5/sarc/raw/master/tools/$pkgname-$pkgver.tar.xz")
#source=("./$pkgname-$pkgver.tar.xz")
md5sums=("2914a88b86113e458cef27b4bf2dfdbd")
build() {
cd dwm-6.2
make
cd ../st
make
cd ../dmenu-5.0
make
cd ../dwmblocks
make
}
package() {
cd dwm-6.2
make PREFIX=/usr DESTDIR="$pkgdir" install
cd ../st
make PREFIX=/usr DESTDIR="$pkgdir" install
cd ../dmenu-5.0
make PREFIX=/usr DESTDIR="$pkgdir" install
cd ../dwmblocks
make PREFIX=/usr DESTDIR="$pkgdir" install
cd ../bin
mkdir -p "$pkgdir/usr/local/bin"
cp * "$pkgdir/usr/local/bin"
cd ..
mkdir -p "$pkgdir/usr/src/sarc"
cp -r $srcdir/* "$pkgdir/usr/src/sarc/"
echo "Run ss to start sarc"
}
|