# Tanım: Deepin masaüstü ortamının başlatıcısı
# URL: https://github.com/linuxdeepin/startdde
# Paketçi: Cihan_Alkan 
# Gerekler: cmake coffeescript deepin-dbus-factory deepin-gir-generator deepin-go-lib deepin-api python deepin-go-dbus-factory
# Grup: masaüstü

isim=startdde
surum=3.6.0
devir=1
kaynak=(https://github.com/linuxdeepin/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  export GOPATH="$SRC/build:/usr/share/gocode"
  go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/howeyc/fsnotify \
         github.com/cryptix/wav golang.org/x/net/context github.com/linuxdeepin/go-x11-client
  sed -i 's/sbin/bin/' startdde-$surum/Makefile

  cd startdde-$surum
  make

  make DESTDIR="$PKG" install
}