summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b9e4f4dfffeee6e32f500b53063e652f64edb88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: TheCynicalTeam <TheCynicalTeam@github.com>
# Contributor: TheCynicalTeam <TheCynicalTeam@github.com>
pkgname=i3session
pkgver=2020.6.27
pkgrel=1
pkgdesc="Remembers what's running in your i3 workspaces by saving a session file"
arch=('any')
url="https://github.com/TheCynicalTeam/$pkgname"
license=('GNU General Public License v3.0')
depends=(python2-xdg python-i3-py i3-wm xorg-xprop)
makedepends=('git')
source=("https://github.com/TheCynicalTeam/$pkgname/archive/$pkgver-$pkgrel.tar.gz")
sha256sums=('bc3e5ecc99ed972d4b020790ee4eb56b2db8f1d0b3a1852f1214dbc11007be22')

package() {
  cd "$srcdir/$pkgname-$pkgver-$pkgrel"
  sed -i '1 s:/python:/env python2:' "$pkgname"
  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
}